html comment question

Matthias Andree matthias.andree at gmx.de
Mon Jan 20 00:03:28 CET 2003


Clint Adams <schizo at debian.org> writes:

>> When my code sees a '<', it checks whether the buffer has 3 additional 
>> characters (for the "!--").  If not, it reads more lines until it has the 3 
>
> Maybe you want to have the lexer check for {non-boundary}<--, then save
> the fragment and run html_comment(), then append additional fragments to
> the save buffer until the next word boundary is reached.

Should we make the fgetsl caller LF-blind by replacing LF with a blank
space?

-- 
Matthias Andree




More information about the bogofilter-dev mailing list