[ZPT] CVS: Zope/lib/python/TAL - HTMLTALParser.py:1.33.4.1
Chris McDonough
chrism@zope.com
Thu, 29 Aug 2002 01:31:54 -0400
Update of /cvs-repository/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv30531/lib/python/TAL
Modified Files:
Tag: chrism-install-branch
HTMLTALParser.py
Log Message:
CVS up -j from HEAD on chrism-installer-branch.
Sorry folks on various mailing lists whom are subjected to this.
If I knew how to cut down on unnecessary checkin messages to
the lists, I would.
=== Zope/lib/python/TAL/HTMLTALParser.py 1.33 => 1.33.4.1 ===
--- Zope/lib/python/TAL/HTMLTALParser.py:1.33 Wed Aug 14 17:58:54 2002
+++ Zope/lib/python/TAL/HTMLTALParser.py Thu Aug 29 01:31:22 2002
@@ -270,7 +270,10 @@
for item in attrs:
key, value = item
key, keybase, keyns = self.fixname(key)
- ns = keyns or namens # default to tag namespace
+ if ':' in key and not keyns:
+ ns = 0
+ else:
+ ns = keyns or namens # default to tag namespace
if ns and ns != 'unknown':
item = (key, value, ns)
if ns == 'tal':