[Spambayes-checkins] spambayes/spambayes tokenizer.py,1.4,1.5
Mark Hammond
mhammond at users.sourceforge.net
Mon Mar 3 18:07:16 EST 2003
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv26756
Modified Files:
tokenizer.py
Log Message:
Fix [ 696995 ] Invalid HTML comments are not ignored
Index: tokenizer.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/tokenizer.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tokenizer.py 29 Jan 2003 03:23:35 -0000 1.4
--- tokenizer.py 4 Mar 2003 02:07:13 -0000 1.5
***************
*** 912,915 ****
--- 912,918 ----
m = self.find_end(text, end)
if not m:
+ # No matching end - act as if the open
+ # tag did not exist.
+ pushretained(text[start:])
break
dummy, i = m.span()
More information about the Spambayes-checkins
mailing list