Hi Andreas,
Andreas Jonsson wrote:
  Andreas Jonsson wrote:
  Hello,
 I'm still digging into the XWiki grammar file and noticed another odd
 thing.  Wiki parameters at the beginning of a line terminates a
 block.  Compare these two examples:
 | table cell
 (% style="color: blue;" %)
 new paragraph
 | table cell
 (% style="color: blue;" %) 
 There was supposed to be a space at the
beginning of the above line.
 The examples again:
 | table cell
 (% style="color: blue;" %)
 new paragraph
 | table cell
  (% style="color: blue;" %)
 continuing table cell
> continuing table cell
> 
 > Is this intentional? 
Yes, I think it is. When parameters follow a new line they are applied
to the next block. As a consequence they mark the beginning of a new
block. Otherwise the parameters are applied in-line till the block ends
or they are stopped by (%%).
This way we can have:
(% style="color:red" %)
Paragraph with red text containing a (% style="background-color:yellow"
%)highlighted(%%) word.
Hope this helps,
Marius
 
 Best regards,
 Andreas Jonsson
 
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs