ckstyle-node
ckstyle-node copied to clipboard
bootstrap icons失效
bootstrap icons失效
http://getbootstrap.com/dist/css/bootstrap.css
压缩后,icons相关的内容都只剩下编码。
复现方法
将http://getbootstrap.com/dist/css/bootstrap.css使用ckstyle压缩后,替换http://getbootstrap.com/components/页面中的http://getbootstrap.com/dist/css/bootstrap.min.css
bug已找到
.glyphicon-asterisk:before {
content: '\2a';
}
-->
.glyphicon-asterisk:before {
content: '\\2a';
}
Escaping issues are always be confusing.
囧,bug找偏了。。。
.glyphicon-asterisk:before {
content: '\\2a';
}
这个是CodeMirror在展示代码时加上的\,CKStyle处理完以后,只有一个,没有两个
继续找这个虫子~~~