jscreole
jscreole copied to clipboard
List items parse issue
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!
Thank you for your report! I'll have a look.
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.