Re: dropping asp_tags in HEAD

From: Date: Fri, 13 Apr 2007 08:36:55 +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-28778@lists.php.net to get a copy of this message
Hi Tomas, ----- Original Message ----- From: "Tomas Kuliavas" Sent: Friday, April 13, 2007 > ASP tags do collide with some html markup. > > <td width=10%> > > Boom. That's not a problem. :-) If you're in PHP, that would be a string; if in HTML, %> isn't an opening tag: php -d asp_tags=On -r "echo '<td width=10%>'%>, <td width=10%>" Result: <td width=10%>, <td width=10%> > 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. > > -- > Tomas Matt

« previous php.internals (#28778) next »