On Jan 7, 2009, at 5:33 PM, Thomas Mortagne wrote:
On Wed, Jan 7, 2009 at 4:59 PM, Vincent Massol
<vincent(a)massol.net>
wrote:
Hi,
We need to decide if we want to keep the "\\" syntax since now
newlines are significant.
There are two use cases I can see:
1) If we want to allow users to enter empty paragraphs (using \\):
some para
\\
still the same para
another para
If the rational is "We escape the new line" I would prefer to use
"~"
instean of "\\" since our escaping character is "~" now.
We need one way to handle 1) and 2) which is a way to force a line
break. Having 2 solutions is complex and not intuitive.
In addition it's creole-compatible.
> 2) Using \\ in scripts
>
> For example:
>
> #set ($var = "hello\\world")
> $var
>
> note that a possibility is to use the following which is less nice
> IMO:
> #set ($var = "hello${xwiki.nl}world")
>
> So here's my +1 to keep "\\" syntax.
>
> Thanks
Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net