• Hi. Notice the value in the “content” property.

    In my LESS file I have this:
    label.ctct-form-required::before {
    color: #f5463b;
    content: “∗”;
    left: -12px;
    position: absolute;
    top: -4px;
    }

    But in the generated CSS, I end up with this:
    div.ctct-embed-signup > div form.ctct-custom-form label.ctct-form-required::before {
    color: #f5463b;
    content: “∗”;
    left: -12px;
    position: absolute;
    top: -4px;
    }

    It displays on the site correctly when I’m using LESS, but if I take the CSS file and use it instead of the LESS file, I get the corrupted characters. In the interest of performance, I’d like to use the CSS, but how do I fix the characters – it could have the wrong characters in multiple spots.

    https://ww.wp.xz.cn/plugins/wp-less/

The topic ‘Generated CSS contains different characters than LESS’ is closed to new replies.