<br>, <br />, or <br/> in messages

"Amir E. Aharoni via Wikitech-l" <[email protected]> Sat, 28 Feb 2026 08:48:42 -0500
Newsgroups gmane.science.linguistics.wikipedia.technical
Message-ID <CACtNa8vqyRmotpSnwdiiRtcsaNtyG1qzA=64bExs_TL+B8p00Q@mail.gmail.com>
Hi,

Some translatable messages in MediaWiki and extensions have <br> tags.

Sometimes they are written as <br>, sometimes as <br />, and sometimes as
<br/>. I would love to make it consistent across all the messages, but I'm
not totally sure which form to choose.

I recall that many years ago, I read an article that recommends using <br
/>, because it was the most compatible form with the various browsers and
HTML standards.

Things probably changed since then. From what I'm reading online now, the
<br> form is probably the best.

However, I might be wrong. Are there still any good reasons to use <br />
or <br/> in 2026, or is it safe to switch to <br> everywhere?

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/