• Sjoerd Mullender's avatar
    2 fixes plus one extension: · 5baaf665
    Sjoerd Mullender yazdı
    - Actually count the linefeeds in a the CDATA content.
    - Don't call the endtag handler for an unmatched endtag (this makes
      the base class simpler since it doesn't have to deal with unopened
      endtags).
    - If the __init__ method is called with keyword argument
      translate_attribute_references=0, don't attempt to translate
      character and entity references in attribute values.
    5baaf665
xmllib.py 33.7 KB