Closed tillsc closed 9 years ago
This is actually standard Markdown.pl behavior. <span>
isn't a block level HTML tag, so it gets ignored in the processing.
One can debate whether this is the best behavior, but according to Markdown.pl this is the "right" behavior:
As far as I understand the
--process-html
switch (or theEXT_PROCESS_HTML
extension bit) Markdown code inside html tags should not be processed by default (without the extension enabled). So I would expectecho '<span>_Test_</span>' | multimarkdown
to return<span>_Test_</span>
. But it processes the inner Markdown and returns<span><em>Test</em></span>
echo '<span>_Test_</span>' | multimarkdown --process-html
returns exactly the same result. So the switch (same as the extension) seems to have no effect at all.Should be reproducible with MultiMarkdown version 4.6 in MacOs shell and directly via C calls with or without the
EXT_PROCESS_HTML
bit set.