Re: Problem with fix for bug #31672
| From: | Ilia Alshanetsky | Date: | Mon, 07 Mar 2005 14:34:24 +0000 |
| Subject: | Re: Problem with fix for bug #31672 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15298@lists.php.net to get a copy of this message | ||
Good point, +1 for revert.
Ilia
Zeev Suraski wrote:
Guys, I'd like to revert the fix for bug #31672 ("</script> is not considered closing tag if preceded by one-line comment"). While theoretically correct, I'd rather resolve it by fixing the docs. The reason is simple - unlike ?> and %>, the string "</script>" is very much likely to appear inside one line comments: // print "<script>foo</script>"; That suddenly fails. That's probably the reason we didn't implement it in the first place. Any objections to reverting this fix? Zeev