demydd / pandoc

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

incorrectly starts a paragraph after <lj user> tag #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Markdown text that contains a Livejournal-specific "lj user" tag
incorrectly has a new paragraph started after it:

echo "hello <lj user="frank"> how are you" | pandoc

produces

hello<lj user=frank> <p
>how are you</p
>

(I see there's also a space that gets lost there.)

The proper behavior is to simply treat the tag as inline markup and to
leave it alone:

<p
>hello <lj user="frank" how are you</p
>

More information about Livejournal-specific tags is at
http://www.livejournal.com/support/faqbrowse.bml?faqid=67&view=full#lj-user .

This is with pandoc 0.46 in Ubuntu Hardy.

Original issue reported on code.google.com by dan.dr...@gmail.com on 13 Apr 2008 at 4:57

GoogleCodeExporter commented 8 years ago
Fixed in r1276.
Now all unknown HTML tags are considered inline.
Thanks for the bug report!

Original comment by fiddloso...@gmail.com on 20 Apr 2008 at 3:15