I need to preserve whitespace at the beginning of paragraphs, which is what it seems like the
preserveWhitespace option was intended to allow.
The problem is with this option set to true, it inserts a space character after any
<br> node, and if set to ‘full’, it inserts a newline character after any
<br> node. This does not seem like intended behavior.