Steps to reproduce
-
Create a Dynalist node with line breaks (as created with Ctrl + Shift + Return) and whitespace for indentation at the start of the lines. No need to add any Markdown. An example node could contain this text, shown as entered in Dynalist:
CREATE TABLE IF NOT EXISTS data ( id VARCHAR NULL, name VARCHAR NULL, url VARCHAR NULL, count INT NULL );
-
Observe that the whitespace used for indentation is still visible after leaving the nodeās edit mode in Dynalist. This applies even though the node is just unformatted text, not using the ``` ā¦ ``` Markdown markup for code blocks.
-
Export that node to HTML from the nodeās context menu.
Expected result
The HTML export should also show the whitespace that was visible inside Dynalist, because the expectation is that it will look the same as much as possible. That would mean rendering these whitespace characters as
in HTML.
Actual result
The whitespace used for indentation is not visible. The HTML code does not contain any characters representing it, not even invisible normal blank characters. This applies for leading whitespace at the start of a line, and probably also for whitespace inside lines (but I did not test the latter).