On 2/4/08, Jared Williams <[EMAIL PROTECTED]> wrote:
> Have you also noticed the evil trim() in doTableStuff() ?
> Right before it starts to parse the line. Means have to lookahead if a line
> starts with whitespace or NUL.
Ouch, that's almost obnoxious. I just tried it, and sure enough, this
kind of thing works:
{|
|-
| fooooo
|}
This looks like an example where being too permissive is actually
harmful. There's no real benefit in being able to left-indent the
table and no one does it.
Another interesting aspect of table parsing that I've noticed is that
malformed tables often disappear, rather than being rendered
literally. I think we decided that a replacement parser doesn't have
to mimic the current one on malformed input but there are still issues
to consider...
Steve
_______________________________________________
Wikitext-l mailing list
[email protected]
http://lists.wikimedia.org/mailman/listinfo/wikitext-l