[Mediawiki-l] Replacing Newline
Jean-Marc van Leerdam
j.m.van.leerdam at gmail.com
Wed Aug 26 12:32:01 UTC 2009
Hi,
2009/8/26 Waseem Sayegh <wsayegh at gmail.com>:
> I have also tried
> {{#replace:{{{1}}}| |<br />}}
>
> Though this code ends up replacing "spaces" with <br />.
>
Perhaps the reply from platonides got mangled in your email reader,
but he advised you to try it with an actual newline in the code (put
the second | character on a new line).
Platonides said:
> \n are the characters '\' and 'n'.
> To pass a newline as a parameter, you'd write a newline:
> {{#replace:{{{1}}}|
> |<br />}}
--
Regards,
Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net
More information about the MediaWiki-l
mailing list