Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
The fix for "Although div tag is not allowed, it's rendered in the preview" has also fixed this inconsistent style problem. Entering the same raw text into the input text box now results in an edi...
Answer
#1: Initial revision
The fix for "[Although div tag is not allowed, it's rendered in the preview](https://meta.codidact.com/posts/284503)" has also fixed this inconsistent style problem. Entering the same raw text into the input text box now results in an editor preview that does not show red text (consistent with the final rendered post), and has a message above the preview explaining clearly which parts of the HTML will be removed. ## Raw text ```text ### ImageMagick > <p style="color:red">An error occurred while installing rmagick (4.2.6), and Bundler cannot continue.</p> ``` ## Preview > ![Raw text with a style attribute being ignored in the editor preview and a message explaining why](https://meta.codidact.com/uploads/bofozyl0elel9e7rhirseisyr9cc)