demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Non-strict Markdown parsing breaks on unknown HTML tags #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Convert the following snippet as Pandoc-enhanced Markdown:

Lorem <lj user="ipsum" /> dolor sic

What is the expected output? What do you see instead?

Markdown.pl produces:

<p>Lorem <lj user="ipsum" /> dolor sic</p>

Strict Markdown produces:

<p>Lorem <lj user="ipsum" /> dolor sic</p>

Pandoc enhanced produces:

Lorem <lj user="ipsum" /> 
<p>dolor sic</p>

What version of the product are you using? On what operating system?

PanDoc 0.3 w/ GHC 6.6 and Ubuntu 7.04 (Feisty).

Please provide any additional information below.

Original issue reported on code.google.com by ith...@gmail.com on 16 Aug 2007 at 3:01

GoogleCodeExporter commented 8 years ago
I can see why this might be a problem for some applications,
but I'm not sure how to resolve it.  How is pandoc supposed
to know that the tag <lj> is an inline-level tag and not a
block-level tag?  Any suggestions are welcome.

Original comment by fiddloso...@gmail.com on 18 Aug 2007 at 11:49

GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 1 Nov 2007 at 5:08