erik_moeller(a)gmx.de (Erik Moeller) said:
Just because you're currently talking about the
parser I thought I
might bring up an issue which should be fixed in a next
generation parser:
* foo bar
foo
Becomes
<UL><LI>foo bar
</LI></UL>
foo
It should become
<UL><LI>foo bar foo
</LI></UL>
I generally agree that wiki markup should not span linebreaks, but
here I think it should at least span single linebreaks.
Otherwise it gets very
hard to format bullets with long paragraphs...
I agree. I find the current behavior rather inexplicable,
since in "normal" paragraphs, inserting a single linebreak
and continuing the text simply continues the paragraph... but
if I convert it to a list, I have to suddenly remove linebreaks.
In particular, this makes "diffs" hard to follow.
Consistency is a good thing. Basically, a single linebreak
should mean nothing UNLESS the beginning of the next line has
a special marker (e.g., *, #).
If this change were done, it might affect some text... but probably
not that much. A search could find such text and fix it.
One problem is that this would mean that you couldn't have an
embedded list in a paragraph, followed by more text without
switching to a new paragraph. I guess you could permit
embedded HTML <ol>..<li>..</ol> if you wanted to support that.
In general, it would be good to have a more formal definition of
the Wikipedia Wikitext format somewhere.