Since linebreaks don't normally display in HTML, the HTML scrubber for notes escapes them by inserting <br> tags. Apparently it does this without even parsing the HTML first, which means that notes with fancy markup like those for the titles for the Life of Maid comics (pool #678) can't be broken up for better readability without
<div style="font-size: 350%;
color: #82C2FC;
font-style: italic;
font-weight: bold;
white-space: nowrap;
text-shadow: -1px -1px 0 #080E65,
1px -1px 0 #080E65,
-1px 1px 0 #080E65,
1px 1px 0 #080E65,
-2px -2px 0 #080E65,
2px -2px 0 #080E65,
-2px 2px 0 #080E65,
2px 2px 0 #080E65,
-2.5px -2.5px 0.5px #080E65,
-2.5px 2.5px 0.5px #080E65,
2.5px -2.5px 0.5px #080E65,
2.5px 2.5px 0.5px #080E65;
margin: -4px;
padding: 4px /* tee hee */
">
Life of Maid #27
</div> turning into <div style="font-size: 350%;<br>
color: #82C2FC;<br>
font-style: italic;<br>
font-weight: bold;<br>
white-space: nowrap;<br>
text-shadow: -1px -1px 0 #080E65,<br>
1px -1px 0 #080E65,<br>
-1px 1px 0 #080E65,<br>
1px 1px 0 #080E65,<br>
-2px -2px 0 #080E65,<br>
2px -2px 0 #080E65,<br>
-2px 2px 0 #080E65,<br>
2px 2px 0 #080E65,<br>
-2.5px -2.5px 0.5px #080E65,<br>
-2.5px 2.5px 0.5px #080E65,<br>
2.5px -2.5px 0.5px #080E65,<br>
2.5px 2.5px 0.5px #080E65;<br>
margin: -4px;<br>
padding: 4px /* tee hee */<br>
"><br>
Life of Maid #27<br>
</div> in the note body and breaking completely.
Is there any reason that the desired linebreak-escaping behavior can't be accomplished with the white-space: pre-line CSS property? This would have the additional advantage that translators could suppress the behavior by overriding the attribute in an inline style.
Updated by Lefkadios
