On 12/11/07, Thomas Dalton <thomas.dalton(a)gmail.com> wrote:
I would say that wikitext *is* a shorthand for HTML on
the grounds
that it is defined only by how it is rendered as HTML (ie. by what
parser.php does). Two carriage returns isn't defined as being the
start of a new paragraph, it's defined as being the start of a new <p>
block. That would change if we put together a proper grammar, etc.
Ok, you're saying it is an HTML shorthand, but that would change with
a proper grammar? Well, I'm putting together a proper grammar, so how
should it change? It probably shouldn't change at all for the moment,
so we can meet our goal of having a drop in parser that's as close as
possible to the current one.
I'm finding a constant struggle between the goal of matching the
current behaviour, and the knowledge that some of the current
behaviour happens purely by chance, and no one really designed it.
Steve