Skip to content

Conversation

@gsnedders
Copy link
Member

Please don't merge this. Let us tidy up history first.

I've spent too long straining to see subtle difference. This helps.
The Genshi treewalker was never fully updated when support for
namespaces was added to treewalkers. This finally fixes this, allowing
all tests to once again pass.

This removes the ignoring of children of void elements as the commonly
used treewalkers don't support this and there was some subtle bug I
couldn't see in the code. Given most don't support this, this seems
like little loss. (You will, however, still get an error from the
treewalker if a void element has children.)
This is a simple issue of using `str` to refer to what should be
`six.text_type`.
As the comment says, I am well aware how evil this is hardcoding the
Debian URL, but this allows for testing of all supported optional
extras, and given chardet is packaged for Python 3 in varies places,
this seems worthwhile to support.
@gsnedders
Copy link
Member Author

Manually rebased and merged.

@gsnedders gsnedders closed this Apr 13, 2013
gsnedders added a commit to gsnedders/html5lib-python that referenced this pull request Nov 24, 2014
Double-escape a troublesome tokenizer test.

U+FEFF apparently doesn't decode nicely from JSON under Ruby 2.0 and Obj-C/Cocoa.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants