Other related question:
Does the following generate 5 NL or 3 NL?

Hello
\\
\\
world

my +1 for 5 NLs meaning that the user would have to write "Hello\\\ 
\world" if we he wants 3 NLs only.

-Vincent

On Jan 7, 2009, at 4:59 PM, Vincent Massol 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
>
> 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
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to