Hot answers tagged css
The best approach I found was to incorporate CSSTidy into my plugin. I took a page from JetPack which has a Custom CSS feature. JetPack's CSSTidy implementation is contained in the Jetpack_Safe_CSS class as function, filter_attr. I couldn't entirely figure out why JetPack was nesting the user entered CSS inside a 'div' element prior to parsing, but after ...
Only top voted, non community-wiki answers of a minimum length are eligible