Skip to content

Fix HTMLSerializer on Python2 shouldn't assert unicode strings. #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

faerloev
Copy link

Currently the HTMLSerializer fails with an assert on unicode strings.

@gsnedders
Copy link
Member

Why? When does it fail? As far as I'm concerned, those assertions are valid. They should only be called with unicode strings as arguments. Where are they getting called with anything else?

@gsnedders
Copy link
Member

@faerloev do you have any traceback for the assertion failing?

@gsnedders gsnedders closed this Jan 12, 2016
@landscape-bot
Copy link

Code Health
Repository health decreased by 0.34% when pulling 90b91e2 on ordbogen:master into 43522a2 on html5lib:master.

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.

4 participants