Brion Vibber brion@pobox.com writes:
Remove the spaces from the ends, and everything looks fine.
Okay, but here's another problem; cf. http://www.wikipedia.org/wiki/User%3AKeichwa
Testing comments ================ Input ----- xxx <!-- yyy --> zzz
Output ------ xxx
zzz
Expected Output --------------- xxx zzz
-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-
The bug is that the parser does not the newline after "-->"; I'd recommend to read all of [\n\t ]+$ after "-->". Otherwise it's hard or impossible to add comments within paragraphs or in between list items.