Help:Line-break handling: Difference between revisions

Content deleted Content added
<nowiki>: disabling line breaks isn't necessarily a problem
<nowiki>: use encouraged <br /> instead of also valid <br>
Line 90:
=== &lt;nowiki> ===
 
The effect of the tag {{tag|nowiki|link=Help:Wikitext#Nowiki}} on line breaks is that single and double line breaks are ignored, and you also cannot add a line break with {{tag|br|os}}
 
{{markupv
Line 99:
 
are ignored,
and the tag <br />
is just displayed as is.
&lt;/nowiki>
Line 108:
 
are ignored,
and the tag <br />
is just displayed as is.
</nowiki>
Line 115:
There are several ways to enable line breaks in text that uses {{tag|nowiki}}:
 
'''Solution 1'''. Use {{tag|nowiki}} for each line separately, with {{tag|br|os}} or double newline between lines.
 
{{markupv
|
m=&lt;nowiki> First line &lt;/nowiki> <br />
&lt;nowiki> Second line &lt;/nowiki>
 
&lt;nowiki> Third line &lt;/nowiki>
|
r=<nowiki> First line </nowiki> <br />
<nowiki> Second line </nowiki>