html comment processing

David Relson relson at osagesoftware.com
Tue Apr 1 00:10:12 CEST 2003


At 05:00 PM 3/31/03, Emmanuel Seyman wrote:

>On Mon, Mar 31, 2003 at 11:56:50PM +0200, Emmanuel Seyman wrote:
> >
> > > <!-->third<-->
> >
> > Again "<!-->" is a comment declaration with data characters inside.
> > "third" is part of the text. It needs to be counted.
>
>*sign*
>
>I knew this was going to happen.
>">third<" is the comment. That is one valid comment declaration tag.

This may be bad html.  Better form would be to escape the inner angle 
brackets, i.e.

<!-->third<-->







More information about the Bogofilter mailing list