Help:Line-break handling: Difference between revisions

Content deleted Content added
m <br /> or <br>: both additionally & as well are redundant
<br /> or <br>: wording trim. will not break is enough; to be avoided is verbiage
Line 46:
}}
 
The MediaWiki software converts valid forms like {{tag|br|o}}, {{tag|br/|o}}, and {{tag|br&nbsp;|o}} to {{tag|br|s}}. It also converts the invalid form {{tag|br|c}} to {{tag|br|s}}. The invalid forms {{tag|&nbsp;br|o}} and {{tag|&nbsp;br|c}} are not converted; therefore theyand will not create line breaks and must be avoided.
 
While valid forms without the <code>/</code> (such as {{tag|br|o}} or {{tag|br&nbsp;|o}}) will work properly in the rendered page, the uncommon form {{tag|br&nbsp;|o}} can break several of the available [[Wikipedia:Syntax highlighting|syntax highlighters]] for wiki code in the editing view (mis-highlighting all text in the page after the occurrence of that tag), and so should be avoided. {{As of|2019|04|post=,}} the rather common form {{tag|br|o}} {{em|also}} causes this incorrect display in some of them, and is thus better avoided for the time being.