Page MenuHomePhabricator

Deprecated HTML tags (e.g. "b" rather than "em")
Closed, InvalidPublic

Description

Pages are rendered with deprecated HTML tags, such as <b> rather than <em>.

This is the case for me on en.wp; user agent string: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4


Version: 1.11.x
Severity: minor
URL: http://en.wikipedia.org/wiki/Pio_of_Pietrelcina

Details

Reference
bz12550

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:02 PM
bzimport set Reference to bz12550.
bzimport added a subscriber: Unknown Object (MLST).

<b> is not deprecated in XHTML, and <em> is not equivalent. <b> marks bold specifically, <em> marks emphasis generally, and <strong> marks stronger emphasis generally.

If it were changed, <strong> would be the closest equivalent.

Of course, you are correct, <b> was superseded by <strong>, while <em> is the equivalent of <i>. Looking at the page again, I can see that it is valid XHTML. Whoops.