Preserved newlines in exported Markdown
This addresses #54 (closed) to preserve newlines in exported Markdown. See that issue for an illustration of the before and after.
Currently, this simply replaces each <br>
tag with "\n"
. Is additional formatting desired? The stripHTML
function is called in multiple places, and I don't believe this breaks anything, but I could be wrong. It follows the Markdown semantics of newlines described in #54 (closed) - I don't have a strong opinion about whether this is the better choice.
Edited by Ryan Atkinson