blog.sviluppoweb.eu
sanitize inline css with rails
Hi! You can simply use the sanitize(…) helper in your views to whitelist allowed tags and attributes… but what to do if you need to sanitize the content of a style attribute? I found a…