Commits

Show all
Author Commit Message Labels Comments Date
Tom Lynn
Added a basic XHTMLifyMiddleware.
Tags
0.1rc1
Tom Lynn
bugfix: using values from the last call to start_response rather than the first
Tom Lynn
Added the exc_info=None argument to the test code's fake_start_response.
Tom Lynn
bugfix: missing call to start_response
Tom Lynn
Documented expected failures in a couple of docstrings.
Tom Lynn
Added a first XHTML validating middleware attempt. It relies on lxml.
Tom Lynn
Moved the doctypes into a separate module so they can be imported without lxml.
Tom Lynn
Keeping whitespace around "=" in XML declaration. No extra newline in output.
Tom Lynn
Bugfix to doctype after whitespace. Better default wrap logic in xmlparse.
Tom Lynn
Handling documents with an XML declaration at last. Not well tested.
Tom Lynn
Replacing formfeed characters in XML declaration with spaces.
Branches
xmldecl
Tom Lynn
Enforcing 'Entities encoded in UTF-16 must [begin with a BOM]' (XML, 4.3.3)
Branches
xmldecl
Tom Lynn
Can successfully fix and decode the XML declaration for all sensible encodings.
Branches
xmldecl
Tom Lynn
Made multiply-specified encoding detection safer when fed unknown encodings.
Branches
xmldecl
Tom Lynn
Made fix_xmldecl() work even on EBCDIC-encoded text. Needs tests.
Branches
xmldecl
Tom Lynn
Corrected test - XML version is non-optional.
Branches
xmldecl
Tom Lynn
Added some support for utf-8-sig encoding, and another test.
Branches
xmldecl
Tom Lynn
Added a comment marking the dodgy code.
Branches
xmldecl
Tom Lynn
Added EBCDIC XML decoding support + test.
Branches
xmldecl
Tom Lynn
Adding unfinished xmldecl work.
Branches
xmldecl
Tom Lynn
Added an xmldecl() function for creating valid XML declarations.
Tom Lynn
Testing XML declaration sniffer. Allowing probably-invalid standalone="yes".
Tom Lynn
bugfix: Found a nasty exponential regexp bug.
Tom Lynn
Simplified code slightly, no run-time change intended.
Tom Lynn
Adding xmlns attribute to html tag.
Tom Lynn
Corrected typo in a comment.
Tom Lynn
bugfix: corrected 32-bit unicode string escape syntax
Tom Lynn
bugfix: outputting final text before auto-closing tags.
Tom Lynn
Implemented XML encoding sniffing. Quite minimally tested.
Tom Lynn
Added a <div> wrapper to the template so an <a/> fragment validates ok.
  1. Prev
  2. Next