On 2/7/08, David Gerard dgerard@gmail.com wrote:
On 06/02/2008, Jared Williams jared.williams1@ntlworld.com wrote:
Another little feature, is the table row token is the regexp |-+
And don't forget row styling:
|-style="background:orange"
(which I didn't know existed until I saw someone using it on our intranet today)
Yeah, that syntax is actually fine - there's no ambiguity at all. What I think happens is the parser gets to |- and parses the rest of the line as an XHTML row attribute. If it's junk (eg, ----------------------), then it's just stripped out.
There are lots of rather useless possibilities which are permitted, however:
{| |-style="background: blue" |-row-span=3 |foo... |}
The first "style" row is totally ignored.
Steve