[ZPT] CVS: Packages/TAL - HTMLParser.py:1.10

guido@digicool.com guido@digicool.com
Mon, 26 Mar 2001 11:21:52 -0500 (EST)


Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv13244

Modified Files:
	HTMLParser.py 
Log Message:
Apply lower() to end tag before passing it to the handler!



--- Updated File HTMLParser.py in package Packages/TAL --
--- HTMLParser.py	2001/03/24 19:33:14	1.9
+++ HTMLParser.py	2001/03/26 16:21:52	1.10
@@ -315,7 +315,7 @@
             raise HTMLParseError("bad end tag: %s" % `rawdata[i:j]`,
                                  self.getpos())
         tag = match.group(1)
-        self.handle_endtag(tag)
+        self.handle_endtag(string.lower(tag))
         return j
 
     # Overridable -- finish processing of start+end tag: <tag.../>