1. 15 Mar, 2001 7 commits
  2. 14 Mar, 2001 19 commits
    • Fred Drake's avatar
      · e353be51
      Fred Drake authored
      Update the HTML test to ensure that automagical placement of end tags
      only happens for implied end tags and not all end tags in the affected
      group.
      
      This also corrects for the bug where paragraph-level tags would close
      themselves (before they opened!) if they implicitly closed anything at
      all.
      e353be51
    • Fred Drake's avatar
      · 8d8e57a5
      Fred Drake authored
      Fix a bug that caused paragraph-level markup to close itself when implicitly
      closing anything.
      
      For some elements, when the end tag is implied, insert the tag before any
      whitespace at the end of the text being enclosed.  This makes the generated
      end tags "feel" more like human-generated markup.
      8d8e57a5
    • Fred Drake's avatar
      · 12e723fb
      Fred Drake authored
      If there are errors, generate a non-zero return code.
      12e723fb
    • 's avatar
      Merged issue fixes from 2.3 branch · 1d88685b
      authored
      1d88685b
    • Fred Drake's avatar
      · 4d674598
      Fred Drake authored
      Add a test case to make sure we are closing implicitly closed elements
      correctly.
      4d674598
    • Fred Drake's avatar
      · 2a002013
      Fred Drake authored
      Add support for reasonable closing of open elements for which end tags
      are considered optional.  This does not always place the closing tags
      as a human editor would, but makes the structure correct.
      
      Removed support for the empty start & end tags which are no longer reported
      by nsgmllib (an SGML feature not used with HTML).
      2a002013
    • Fred Drake's avatar
      · d12ac69e
      Fred Drake authored
      Run the tests for HTML files as well as XML files in test/.
      d12ac69e
    • 's avatar
      removed cvs Log kw - it causes spurious diffs when trying to reconcile · 3b564de0
      authored
      branches. Please use cvs log instead to see revision history.
      3b564de0
    • 's avatar
      Merged fixes missed from 2.3 branch · cf0251db
      authored
      cf0251db
    • Fred Drake's avatar
      · b4af2142
      Fred Drake authored
      Remove the support for empty start tags and end tags; these are never
      used with HTML.
      b4af2142
    • Guido van Rossum's avatar
      Remove some debug print statements. · df4d0c74
      Guido van Rossum authored
      df4d0c74
    • Fred Drake's avatar
      · 64f8efe2
      Fred Drake authored
      Change "[%s]" % string.whitespace to r"\s" in regular expressions.
      64f8efe2
    • Fred Drake's avatar
      · fedae89a
      Fred Drake authored
      Use .emitRawText() in a couple of places; this helps minimize the
      instruction sequence.
      fedae89a
    • Fred Drake's avatar
      · c3cfef9b
      Fred Drake authored
      Call the proper .emitText() / .emitRawText() methods instead of just
      calling .emit(); this ensures the right quoting is done and adjacent
      instructions are collapsed when possible.
      c3cfef9b
    • Guido van Rossum's avatar
      90f040e0
    • Fred Drake's avatar
      · 75bf0d61
      Fred Drake authored
      Split .emitText() into .exitText() and .emitRawText(); both generate
      "rawtext" instructions, but .emitText() re-writes the data to use magic
      entities for HTML.  Adjacent "rawtext" instructions are collapsed into a
      single instruction.
      75bf0d61
    • Fred Drake's avatar
      · 8dcc0e69
      Fred Drake authored
      Remove the use of Python 2.0 string methods; stick to the string module
      for now.
      8dcc0e69
    • Fred Drake's avatar
      · b2a105d3
      Fred Drake authored
      Instead of defaulting to XML, use the filename extension to determine which
      parser to use by default.  Use -h/-x only to override.
      b2a105d3
    • Guido van Rossum's avatar
      First steps towards an HTML parser · 0588e8ac
      Guido van Rossum authored
      0588e8ac
  3. 13 Mar, 2001 5 commits
  4. 12 Mar, 2001 8 commits
  5. 09 Mar, 2001 1 commit