[Mediawiki-l] Template help, losing line feeds when coping.

Tim Hogan tim at hoganzoo.com
Sat Sep 8 13:58:12 UTC 2007


Mike,

I see what you mean about the nowiki stripping out the line feeds.  Any 
idea on how you display a piece of source code for example and may have 
characters that could be interpreted as wiki text?

Tim


Michael Daly wrote:
> Tim Hogan wrote:
>
>   
>> {| width="95%" border="0" cellpadding="0" align="center"
>> |  style="background:#FFDEAD;" | <font size="-1">
>>     
>
> I can't help but comment on your using two different ways of specifying 
> style.  You should probably just use style="..." to be consistent and 
> avoid any deprecated or out-of-favour stuff.
>
>   
>> <nowiki>line1
>> line2
>> line3
>> </nowiki>}}
>>     
>
> This is the same as
>
>  > <nowiki>line1line2line3</nowiki>
>
> There are no line breaks.  If you want line breaks, you have to put them 
> in explicitly.
>
> Mike
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>   



More information about the MediaWiki-l mailing list