[ZPT] CVS: Releases/Zope/lib/python/TAL - HTMLParser.py:1.21

Florent Guillaume fg@nuxeo.com
Thu, 1 Nov 2001 23:48:23 +0100


In article <200110221730.f9MHUFm13194@cvs.baymountain.com> you write:
> === Releases/Zope/lib/python/TAL/HTMLParser.py 1.20 => 1.21 ===
>                  elif _contains_at(rawdata, "<!--", i): # <!--
>                      k = self.parse_comment(i)
> +                elif _contains_at(rawdata, "<!", i): # <!
> +                    k = self.parse_declaration(i)
>                  elif _contains_at(rawdata, "<?", i): # <?
>                      k = self.parse_pi(i)
>                  elif _contains_at(rawdata, "<?", i): # <!
>                      k = self.parse_declaration(i)

There was a copy-paste error there, the last two lines (as seen in CVS)
are never reached.

        -- Florent


-- 
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com