Content deleted Content added
→<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. |
→<br /> or <br>: Add link to well-formed/malformed html elements, because it's otherwise jarring that right after the sentence talking about *invalid forms* the very next sentence says they render correctly; this edit resolves that otherwise confusing segue. Dropped the "As of April 2019..." comment, which was true before that date, and in any case is now redundant to the sentence just before it, after the previous edit restoring correct verbiage. |
||
Line 48:
The MediaWiki software converts valid forms like {{tag|br|o}}, {{tag|br/|o}}, and {{tag|br |o}} to {{tag|br|s}}. It also converts the invalid form {{tag|br|c}} to {{tag|br|s}}. The invalid forms {{tag| br|o}} and {{tag| 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 |o}}) will work properly in the rendered page because modern browsers are forgiving of [[Well-formed element|malformed HTML]], 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
Please correct invalid occurrences – such as {{tag|br|c}}, {{tag| br|o}}, or {{tag| br|c}} – to {{tag|br|s}} as you encounter them, though preferably as a part of a more substantive edit.
|