Commits

Author Commit Message Labels Comments Date
Tom Lynn
Refusing to accept tags with repeated attributes.
Tom Lynn
Improved NAME_RE to match low-ascii subset of 'Name' production in XML spec.
Tom Lynn
Checking that character references are in the allowed ranges.
Tom Lynn
Using the list of self-closing ('EMPTY') tags given in the XHTML DTDs.
Tom Lynn
Making more bad cases safe, such as '<' in attribute values.
Tom Lynn
Replaced all uses of \s with [ \t\r\n], as per XML's idea of white space.
Tom Lynn
Added an lxml-based XHTML validator (including DTDs). Tweaked wellformed's API.
Tom Lynn
Fixed typo in project description.
Tom Lynn
Added a basic wellformedness checker.
Tom Lynn
Added a test that demonstrates handling of unknown entities.
Tom Lynn
bugfix: tests were failing. Now only preserving the five predefined entities.
Tom Lynn
Uppercasing doctype.
Tom Lynn
Keeping recognised entity names. Dropping any support for proc' instr's.
t...@kumquat.realvnc.ltd
Typo fix in comment.
t...@kumquat.realvnc.ltd
Added more tests. Removing unescaped CDATA end markers.
Tom Lynn
Lowercasing attribute names.
Tom Lynn
Not complaining about unclosed tags, auto-closing them at end of snippet.
Tom Lynn
Inserting space before self-closing-/> for old-parser paranoia reasons.
Tom Lynn
Removed unused line.
Tom Lynn
Removed handling for interleaved <script> and CDATA tags; not needed it seems.
Tom Lynn
Removed use of the inline if ternary operator for backwards compatibility.
Tom Lynn
Getting closer to correct <script> CDATA handling.
Tom Lynn
Got an almost-correct version.
Tom Lynn
More work on the CDATA-free spec. It won't work, about to remove it.
Tom Lynn
Removed the requirement to escape > in scripts, escaping < and & suffices.
Tom Lynn
Added a docstring for fix_attrs().
Tom Lynn
Added a specification in the form of failing tests for better CDATA escaping.
tlynn
Auto-closing <td>s and <th>s before </tr> (with tests).
tlynn
Added a few very basic tests for xhtmlify.
tlynn
Added an __all__ variable to indicate the exported API better.
  1. Prev
  2. Next