Skip to content
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

Improve document type declaration processing #157

Merged
merged 5 commits into from
Feb 16, 2015
Merged

Conversation

opottone
Copy link
Contributor

4 bugfixes and one improvement related to document type declarations:

  • Properly escape system literal which contains a quote character "
  • Properly serialize HTML declarations
  • In elementsoup, fix processing of everything outside the root element (document type declaration, comments, processing instructions)
  • Set/remove document type via lxml API
  • Properly serialize comments & processing instructions which precede document type declaration

@scoder
Copy link
Member

scoder commented Feb 16, 2015

Looks good to me, thanks!

scoder added a commit that referenced this pull request Feb 16, 2015
Improve document type declaration processing
@scoder scoder merged commit c6b5c29 into lxml:master Feb 16, 2015
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