- 16 Mar, 2001 38 commits
-
-
Fred Drake authored
Correct an error in the output relating to implicit closure of <dt> elements.
-
Fred Drake authored
Revert an accidental re-indenting of a line that occurred in revision 1.8 that introduced a bug in the implicit closing of list- and table-related elements.
-
Fred Drake authored
Move all the test input/output files around so the test/ directory is available for Zope-style regression tests; these will appear later.
-
Guido van Rossum authored
break the use from TALParser.
-
Fred Drake authored
Update to reflect the new support for SGML declaration syntax.
-
Fred Drake authored
.handle_decl(): Push SGML declarations into the instruction stream.
-
Fred Drake authored
Change RuntimeError to SGMLParseError, which carries line number and offset information. Add support for SGML declaration syntax (<!....>) to some reasonable degree. This does not support everything allowed in SGML, but should work with "real" HTML (internal subset in a DOCTYPE is not handled). The content of the declaration is passed to the .handle_decl() method, which can be overridden by subclasses.
-
Guido van Rossum authored
-
Jim Fulton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Remove the do_text() method, this instruction is no longer used.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Also slightly refactored the starttag optimization code.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
cStringIO.
-
Guido van Rossum authored
-
Guido van Rossum authored
items and start and end tags without attributes into a single rawtext item. We could do more, by also changing start tags with only plain (non-substituted) attributes into rawtext and collapsing. After breakfast.
-
Guido van Rossum authored
- add getCode() interface to TALGenerator - remove premature optimization from emitRawText() - rework unEmitNewlineWhitespace() so it works with unoptimized code - use getCode() in HTMLTALParser and TALParser
-
Guido van Rossum authored
-
Guido van Rossum authored
Move quote() function here from TALInterpreter.
-
Guido van Rossum authored
-
Guido van Rossum authored
references, introduced by the line number / offset code.
-
Chris McDonough authored
-
- 15 Mar, 2001 2 commits
-
-
Guido van Rossum authored
Changed the interface for the NestingError exception; it now has tag, lineno, and offset attributes, and reports these in its __str__; the tagstack is no longer needed. Moved all the "internal thingies" to the end; renamed some for more consistent naming.
-
Guido van Rossum authored
retrieve.
-