Re: Replace dead and obsolete HTML in the core

From: Date: Fri, 22 May 2015 19:43:10 +0000
Subject: Re: Replace dead and obsolete HTML in the core
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-86353@lists.php.net to get a copy of this message
On Fri, May 22, 2015 at 1:01 PM, Jakub Kubíček <kelerest123@gmail..com> wrote: > Hi Internals, > > I have recently made a patch[1] for PHP7 that replaces dead and obsolete > HTML code (like <img border="0">, <a name="..."></a> vs. > <... > id="..."></...> or XHTML's NET notation <br /> vs. HTML's > <br>), mostly > being output by PHP itself (error messages, phpinfo() etc.), with > alternatives that are being used rather nowadays. > > I would appreciate any feedback, as well as thoughts what else could be > included in the patch. I see no value in the changes from <br/> to <br>. It saves very few characters and means you can't use XML parsers anymore. HTML 5 permits the XHTML syntax, so it's not like <br> is more conforming to HTML5 than <br/> is.

« previous php.internals (#86353) next »