Blog Customization, HTML & Custom CSS
A
Anthony Owens
The blog tool uses a very aggressive level of code sanitation and does not allow me to customize my blog posts the way that I want.
We are attempting to publish high-quality articles with custom formatting (specifically responsive layout grids and call-to-action buttons for our office locations). I am writing clean, standard HTML and CSS.
When I paste the code into the "Source Code" view, it renders correctly initially. However, as soon as I press "OK," "Save," or re-open the source code, your system's sanitization filter aggressively strips out:
<style> blocks: All internal CSS is being removed.
class attributes: Custom classes on <div> and <a> tags are being stripped or ignored.
To get around this, I am currently forced to write 100% inline CSS (placing style rules directly inside every single HTML tag). This works, but it is an inefficient, outdated method of coding that makes future edits difficult and increases the file size of the page.
We need the flexibility to control the visual presentation of our content to match our brand standards