HTML ipuz fields containing <br> fallback to plaintext
Many ipuz fields such as clues, intros, and notes are in HTML format, but when they contain a <br>
element (which libipuz appears to support), they fall back to rendering as plaintext. Multiple <p>
tags do not cause this fallback (though they become a single line without spaces in between).
\n
newlines in the title, clues, and notes do render as newlines, which while perhaps technically not correct, may be good here anyway.
Example of correctly rendering text:
"notes": "<b>Various</b> <i>HTML</i> <s>tags</s>"
Various HTML
tags
Example of text that falls back to plaintext:
"notes": "<b>Various</b> <i>HTML</i> <s>tags</s><br>across multiple lines"
<b>Various</b> <i>HTML</i> <s>tags</s><br>across multiple lines
Expected output:
Various HTML
tags
across multiple lines