• Hi Guys – first off – we have used your plugin on everything we build- since 99% of our work is done using CSS – love it! We faced an issue when adding a Reserved Character ‘>’ to a :before pseudo class. like this — .et-pb-arrow-next:before {content: “>”;} — after the opening quote in front of the ‘greater than’ character all CSS is ignored. So we tried to use HTML Entities: > or > but these are interpreted back to the original Reserved Character upon ‘saving’ – breaking the remaining CSS. Just wondering if I am missing something here!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Regan

    (@johnregan3)

    @swagit This is an interesting case. There is some sanitization/escaping that goes on when the CSS is saved and displayed, and I imagine it has something to do with what’s going on here. Have you tested putting your CSS into the default WP Customizer “Additional CSS” panel?

    Thread Starter barry

    (@swagit)

    Hi John – we did indeed add it to the default ‘edit CSS’ panel… In that case the first rule was allowed the second rule showed an error on the next rule’s opening ‘{‘ – we just switched the characters to ‘-‘ and ‘+’ as a work around… Interestingly enough instead of the character we wanted “<” — edit CSS displayed the name code or number code on the page depending on which we used — e.g.. < — instead of interpreting it to the correct character — e.g. < — we could always use a graphic instead of a character – but we found this interesting and thought we would mention it!

    cheers,

    barry@SWAG

    Thread Starter barry

    (@swagit)

    lol – of course the name code and number code interpret correctly in the above post – but I think you know what I mean

    =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘reserved character added to pseudo class issue’ is closed to new replies.