1. 09 Apr, 2001 19 commits
  2. 07 Apr, 2001 12 commits
  3. 06 Apr, 2001 9 commits
    • Fred Drake's avatar
      · 73728855
      Fred Drake authored
      Add general support for CDATA element content, enabled by default for
      <script> and <style> elements since those are the ones I found in HTML 4.01.
      73728855
    • Fred Drake's avatar
      · cd292de0
      Fred Drake authored
      Added a test case to make sure <script> and <style> elements are handled
      correctly.
      cd292de0
    • Guido van Rossum's avatar
    • Guido van Rossum's avatar
      Change attribute replacement so that Boolean HTML attributes can be · 72f4c314
      Guido van Rossum authored
      set or cleared by specifying any true or false value.
      
      (XXX I wonder if this should be recognized at compile time rather than
      at interpretation time; oh well, this works.)
      72f4c314
    • Guido van Rossum's avatar
    • 's avatar
      save start on 2.1 unit tests for EC, Acquisition · 95e5e559
      authored
      95e5e559
    • Fred Drake's avatar
      locatestarttagend: Completely re-write the expression so to be much · 8447707c
      Fred Drake authored
          more strict about matchnig only what's legal.  The expression ends
          up being a bit more complex, and needs additional checks to be
          done on what follows.
      
      HTMLParser.check_for_whole_start_tag():  Helper method that uses
          locatestarttagend, performs the required additional checks, and
          determines whether we've actually found the end of the start tag,
          are at a buffer boundary, or have encountered an syntactical
          error.
      
      
      HTMLParser.parse_starttag():  Use check_for_whole_start_tag() to see
          if we really have the start tag.
      
      HTMLParseError.__init__():  Simplify assertion.
      
      
      This should close ZPT(18).
      8447707c
    • Fred Drake's avatar
      · e37dbe4f
      Fred Drake authored
      Revise a test that requires "<tag attr=>" to be accepted -- it is not!
      
      Add a check to ensure it raises an HTMLParseError.
      e37dbe4f
    • Fred Drake's avatar
      · 96b06b29
      Fred Drake authored
      Revise a test that requires "<tag attr=>" to be accepted -- it is not!
      96b06b29