As a standard Markdown editor, Bear generally* treats two newline characters between text as a paragraph delimiter. That means the following text
First paragraph.
Second paragraph.
should result in the following HTML
<p>First paragraph.</p>
<p>Second paragraph.</p>
When highlighting text in a note and choosing Copy As > HTML
from the editor context menu, the result is correct.
However, when exporting as HTML (via the File menu or context menu in the note list) or copying an entire note as HTML (via the context menu in the note list), it incorrectly adds <br>
line break elements between each paragraph (and between headings and paragraphs):
<p>First paragraph.</p><br>
<p>Second paragraph.</p>
This inconsistency is surely a bug. Thanks!
* The paragraph spacing user preference notwithstanding