httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: suggestion: strip comments from served html pages
Date Sun, 07 Nov 2004 22:47:02 GMT
* Nick Kew <nick@webthing.com> wrote:

> BTW, the "what is a comment" problem is easier than it looks, as both
> <script> and <style> are declared in HTML as having CDATA content.
> That makes it trivial to distinguish them from "inert" comments.

but in xhtml it's PCDATA, which makes them real xml comments...

nd
-- 
Winnetous Erbe: <http://pub.perlig.de/books.html#apache2>

Mime
View raw message