jscreole icon indicating copy to clipboard operation
jscreole copied to clipboard

List items parse issue

Open ipeychev opened this issue 13 years ago • 2 comments

Hello Ivan!

There is an issue on parsing list items. For example this code:

# item1
{{{
pre
}}}

won't be parsed properly. It will be turned to: 1. item1 {{{ pre }}}

According to Wiki Creole 1.0 specification: "A list item ends at the line which begins with a * or # character (next item or sublist), blank line, heading, table, or nowiki block;"

Could you take a look, please?

Thanks!

ipeychev avatar Nov 15 '11 16:11 ipeychev

Thank you for your report! I'll have a look.

codeholic avatar Dec 30 '11 10:12 codeholic

Yep, this is a bug. But for now I don't see an easy way to fix it because of limitedness of the parser. I would recommend just to put an empty line after the list as a workaround.

codeholic avatar Feb 05 '12 21:02 codeholic