Normalize wrapping quotes for CSS string literals.
npm install postcss-normalize-string> Normalize strings with PostCSS.
With npm do:
```
npm install postcss-normalize-string --save
`css`
p:after{ content: '\\'string\\' is intact' }
`css`
p:after{ content:"'string' is intact" }
See the PostCSS documentation for
examples for your environment.
#### options
##### preferredQuote
Type: stringdouble
Default:
Sets what type of quote to prefer. Possible values are single and double.
`js``
var css = 'p:after{content:""}';
console.log(postcss(normalize({preferredQuote: 'single'})).process(css).css);
//=> p:after{content:''}
See CONTRIBUTORS.md.
MIT © Ben Briggs
[postcss]: https://github.com/postcss/postcss