- 15 Mar, 2001 7 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
Remove code to support the null-end-tag support (<span/.../); this is *never* used with HTML. Removing this simply reduces the number of special cases that clutter the start-tag parsing. Add support for XHTML-style end-tags (<img src="foo.gif" />).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jim Fulton authored
-
Guido van Rossum authored
to TALGenerator, so it can be reused by HTMLTALParser. Also got rid of the CharacterData and Comment handlers in TALParser -- the Default handler does the right thing already.
-
Guido van Rossum authored
HTML TAL parser. This moves the "fixing" of the attributes (really changing them from "<namespace> name" to "<prefix>:name") to the same loop over the attributes where the presence of unrecognized attributes is reported, simplifying life later.
-
- 14 Mar, 2001 19 commits
-
-
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.
-
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.
-
Fred Drake authored
If there are errors, generate a non-zero return code.
-
Fred Drake authored
Add a test case to make sure we are closing implicitly closed elements correctly.
-
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).
-
Fred Drake authored
Run the tests for HTML files as well as XML files in test/.
-
Fred Drake authored
Remove the support for empty start tags and end tags; these are never used with HTML.
-
Guido van Rossum authored
-
Fred Drake authored
Change "[%s]" % string.whitespace to r"\s" in regular expressions.
-
Fred Drake authored
Use .emitRawText() in a couple of places; this helps minimize the instruction sequence.
-
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.
-
Guido van Rossum authored
-
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.
-
Fred Drake authored
Remove the use of Python 2.0 string methods; stick to the string module for now.
-
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.
-
Guido van Rossum authored
-
- 13 Mar, 2001 5 commits
-
-
Jens Vagelpohl authored
This fix will make HelpTopics re-read their underlying filesystem files if Zope is run in debug mode and if the file change timestamp has changed since the first time the content was read in.
-
Amos Latteier authored
Before this failed:: line one line two Now this example is handled correctly.
-
Amos Latteier authored
-
Amos Latteier authored
Fixed a couple typos. This DOM really needs some tests. These typos should have been caught long ago.
-
Amos Latteier authored
Updated docbook coverage to allow StructuredText to work. No more KeyErrors upon importing StructuredText. Also updated it to work with the current DocumentClass.py and with docbook 4.1.
-
- 12 Mar, 2001 8 commits
-
-
john authored
-
john authored
-
john authored
which prevented things like strong,emp, and string literals from being recognized.
-
john authored
things like strong,emp, and literals in the href name
-
Shane Hathaway authored
-
Shane Hathaway authored
- 09 Mar, 2001 1 commit
-
-
john authored
StructuredText section failed to provide the actual colorizable text, so in-line structured text items were being ignored.
-