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