Help:Line-break handling: Difference between revisions

Content deleted Content added
m <pre>: Removed extra word
<br /> or <br>: Not just the "uncommon form" but all of the variant, valid forms. This restores the correct verbiage added 16 July 2018, and weakened in 886591361 and 895444093.
Line 48:
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 and will not create line breaks.
 
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}}they 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.
 
Please correct invalid occurrences&nbsp;– such as {{tag|br|c}}, {{tag|&nbsp;br|o}}, or {{tag|&nbsp;br|c}}&nbsp;– to {{tag|br|s}} as you encounter them, though preferably as a part of a more substantive edit.