siteorigin / so-css

SiteOrigin CSS is the simple, yet powerful CSS editor for WordPress. It gives you visual controls that let you edit the look and feel of your site in real-time.
https://siteorigin.com/css/
GNU General Public License v2.0
46 stars 10 forks source link

Update css.js to resolve unintended escaping & Prevent Unintended Slashes During Ajax Save #157

Closed AlexGStapleton closed 2 years ago

AlexGStapleton commented 2 years ago

Resolve https://github.com/siteorigin/so-css/issues/155

This PR will prevent the escaping of the following CSS:

#home-hero .sow-slider-base::after {
    content: "";
    width: 100%;
    height: 10px;
    background: red;
    position: relative;
    display: table;
}

Please add the above CSS using the Expanded Editor and save using both regular saving and Ajax.

Misplon commented 2 years ago

Thanks, mate. The issue is persisting on the site front-end in the outputted CSS.