Currently the lists are made as:
Code: Select all
[list=1]
Wtf item
[*]Item1
item1
[*]item2
[*]item3
[/list]
So, what I'm asking is to make the
[li][/li]
the new official BBCode for a list item and deprecate (not remove yet) the [*]
as the official BBCode for the list item.By making this I can optimize the parser such that it parses list items much much faster and without the need of extra logic in the list BBCode.
The problem is that the only way I found to properly parse the
[*]
is to break the parsing flow and to make further testing and recovering from misplaced [*]
specially made for that tag. You bet that all that is a pain for the parser (not for me, the programmer).Anyway, if one has a good idea about how the tag
[*]
can be taken care of, then pls do tell. I'm unable to come up with good ideas for parsing, for now.Anyway, we may also use
[*][/*]
, if you think it's better.