html comment processing

Herman Oosthuysen Herman at WirelessNetworksInc.com
Mon Mar 31 20:43:15 CEST 2003


<br>one tw<!--this is a comment-->o three
This comment is "--this is a comment--"


<br><!first>
This comment is "first"


<!-->
This comment is "--"

third<-->
This is an illegal tag and should be discarded


I have read many horrible specs in various languages over the years. 
The HTML spec is quite clear to me in that "<!" and ">" are the comment 
delimeters.  I do not think that there is any ambiguity about it.





More information about the Bogofilter mailing list