MultiMarkdown-5
MultiMarkdown-5 copied to clipboard
Bug: File Transclusion will strip away the first line if there's some spaces
Here is a MWE showing the bug: temp.zip
In the original folder, things are working as expected.
In the bug folder, in file ch1.md, ch2.md, I put 2 spaces in the line between the metadata front matter and the first header. In the transcluded file master.html, you will see that the header of ch1.md, ch2.md has gone.
So don't put spaces in there. :)
While I'm no fan of trailing whitespace, I believe I've come up with a minimal fix to avoid whitespace fooling the metadata detection. It fixes the MWE case in my testing