Convert line breaks in block quotes?
This is more of a question / suggestion.
Consider this Markdown:
> Line1
> Line2
>
> Line3
Line1 and Line2 are separated by a soft line break, and Line2 and Line3 by a hard line break.
GitHub preserves the linebreak and adds <br> to also visually separate the lines:
Line1 Line2
Line3
Both the GFM and CommonMark Specs have this passage in the soft line breaks section, so this behavior is allowed:
A renderer may also provide an option to render soft line breaks as hard line breaks.
Mistune and An Otter Wiki adhere to the spec but don't provide that option:
<blockquote>
<p>Line1
Line2</p>
<p>Line3</p>
</blockquote>
>>> text = """
... > Line1
... > Line2
... >
... > Line3
... """
>>> mistune.html(text)
'<blockquote>\n<p>Line1\nLine2</p>\n<p>Line3</p>\n</blockquote>\n'
>>>
IMHO, An Otter Wiki should have this option. Quotes are a repetition of what was written somewhere else, where line breaks may have been intentional. And in some cases, line breaks might make the difference:
Two cats and a dog? I cannot confirm that Peter has two cats
What do you think?