Re: dropping asp_tags in HEAD
| From: | Stefan Walk | Date: | Fri, 13 Apr 2007 09:13:02 +0000 |
| Subject: | Re: dropping asp_tags in HEAD | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28780@lists.php.net to get a copy of this message | ||
On 13/04/07, Tomas Kuliavas <tokul@users.sourceforge.net> wrote:
Not "should be", it is a must. Quoting HTML 4.01: "In certain cases, authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal 58)." So, your example is not HTML, so it doesn't show any collision.This isn't cleanup. This is dropping a feature without a similar alternative. Short tags are problematic because of xhtml templates. ASP tags collide with no (x)html markup, and they are short and easy to type/read in templates. ASP tags do collide with some html markup. <td width=10%> Boom. I know. Value should be quoted. 'asp_tags = on' is yet another way to break php scripts. Some developers don't expect it and make typos in html attributes.Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still planned), so one more cleanup won't hurt anyone.