One of the nice things about the Atto editor is that one can switch to HTML.
Sometimes I need some special markup, so I can start writing in rich text mode, and then finalize in HTML mode.
However, the HTML produced by rich text editing is quite unreadable. Here the example of a simple three-line email with one word emphasized:
The three <p> tags are crammed together on one line, and every paragraph has ltr and style attributes. But this is even a relatively harmless example, I've seen cases where random parts of the text were put into <span> tags etc.
I propose to clean up the HTML code, so one can actually easily work with it.
One of the nice things about the Atto editor is that one can switch to HTML. Sometimes I need some special markup, so I can start writing in rich text mode, and then finalize in HTML mode.
However, the HTML produced by rich text editing is quite unreadable. Here the example of a simple three-line email with one word emphasized:
The three
<p>
tags are crammed together on one line, and every paragraph hasltr
andstyle
attributes. But this is even a relatively harmless example, I've seen cases where random parts of the text were put into<span>
tags etc.I propose to clean up the HTML code, so one can actually easily work with it.