Notes of heading nodes become part of the heading on HTML export

Steps to reproduce

  1. Choose any Dynalist node and make it a header (means, click H1 or H2 or H3 in the node’s context menu).

  2. Add a note to that Dynalist node (Shift + Return, enter some text).

  3. Export that node to HTML from the node’s context menu.

Expected result

The node should appear as on Dynalist, with the main node text rendered as a HTML header element and the note appearing smaller below it, not part of the header.

Actual result

The note is rendered as part of the HTML header element, separated from it only with a <br/>.