Kaydet (Commit) 6ce9fe88 authored tarafından Fred Drake's avatar Fred Drake

explain an XXX in more detail

üst a16393ef
......@@ -246,6 +246,9 @@ class SGMLParser(markupbase.ParserBase):
self.__starttag_text = rawdata[start_pos:match.end(1) + 1]
return k
# XXX The following should skip matching quotes (' or ")
# As a shortcut way to exit, this isn't so bad, but shouldn't
# be used to locate the actual end of the start tag since the
# < or > characters may be embedded in an attribute value.
match = endbracket.search(rawdata, i+1)
if not match:
return -1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment