Support » Plugin: Simple Custom CSS Plugin » content attribute for :before and :after is stripped out

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jamiechong

    (@jamiechong)

    To clarify, what I’m getting is this:

    .somediv:before {
      content: "";
    }

    Plugin Author John Regan

    (@johnregan3)

    Hi jamiechong,

    I understand exactly what you’re saying. I’ve been escaping the output of the css to due to security concerns, but I’m seeing that this is causing problems for some people. Sometime soon, I’ll release an update that allows for the disabling of this security feature so that double quotes can be used. I can’t say exactly when that will be, but it is the highest priority for my next release.

    Thanks for helping make this plugin better!

    John

    Plugin Author John Regan

    (@johnregan3)

    Marking this issue as resolved. If you have any further questions, jamiechong, just ask it here and I’ll be notified.

    Thread Starter jamiechong

    (@jamiechong)

    FYI: As a work around I’ve set my content to no-open-quote; Seems behave the same as content: ""

    .somediv:before {
      content: no-open-quote;
    }

    Found the possible content values here:
    http://www.w3schools.com/cssref/pr_gen_content.asp

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘content attribute for :before and :after is stripped out’ is closed to new replies.