最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugin development - Backslashes being stripped from CSS

programmeradmin1浏览0评论

The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet.

For example:

content="\foo"

becomes:

content="foo"

I cannot find any solution to this on the web. Is there a way around this?

The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet.

For example:

content="\foo"

becomes:

content="foo"

I cannot find any solution to this on the web. Is there a way around this?

Share Improve this question asked Jul 15, 2015 at 0:50 Rob MyrickRob Myrick 3054 silver badges18 bronze badges 2
  • Strange, doesn't happen for me in WP 4.2.2. Plugin perhaps?? – bonger Commented Jul 15, 2015 at 7:45
  • This very well could be.....I've started testing that this could be a plugin issue, but haven't gotten too much into it yet. Thanks for the feedback.... – Rob Myrick Commented Jul 17, 2015 at 22:06
Add a comment  | 

1 Answer 1

Reset to default 1

Add a second backslash e.g.

content="\\foo"
发布评论

评论列表(0)

  1. 暂无评论