postcss-safe-curly-braces
v0.2.3
Published
PostCSS plugin that separates back-to-back closed curly braces `}}`, that might break certain templating engines like Handlebars or Vue.js
Downloads
7
Maintainers
Readme
PostCSS Safe Curly Braces
PostCSS plugin that adds a white space between closing curly braces.
This is useful when inlining css into a Handlebars or a Vue.js template, as back-to-back curly braces can break the template engine.
@media(hover:hover){.foo{display:none}}
@media(hover:hover){.foo{display:none} }
Usage
postcss([ require('postcss-safe-curly-braces') ])
See PostCSS docs for examples for your environment.