demydd / pandoc

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

Proper treatment of HTML tags that can be either block or inline #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Run pandoc on

<ins>hello</ins>

You get:

<ins><p
>hello</ins></p
>

which is improperly nested.

Optimal output:

<p><ins>hello</ins></p>

Perhaps this can be fixed by putting the raw HTML parser after
the paragraph parser in the definition of 'block'.

Original issue reported on code.google.com by fiddloso...@gmail.com on 16 Dec 2007 at 7:26

GoogleCodeExporter commented 8 years ago
Fixed in r1154.

Original comment by fiddloso...@gmail.com on 24 Dec 2007 at 4:29