First, thanx for a great program!
I just upgraded my parsers to 1.2 and it seems to choke horribly on the
following (admittedly technically illegal, but depressingly) HTML input:
<font color="orange">
blerf
</font>
Any color value that isn't recognized in the table causes TextParser.py
to throw an exception. I don't do Python (sorry) but it looks like
there is code that tries to handle this.
I took the weenie way out and used this to get back in business on my
monochrome PDA. I know this is oh-so-wrong, but I'll leave it to
you Python wizards to find a more graceful way to handle the myriad of
illegal code that's out there...
Thanx!
RJL
*** TextParser.py_ Fri Nov 1 12:19:19 2002
--- TextParser.py Fri Nov 1 12:27:22 2002
***************
*** 497,502 ****
--- 497,504 ----
except:
pass
+ rgb = "000000"
+
if not rgb:
return
RJL
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev