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

Ensure xml lexer handles unknown DOCTYPEs #1348

Merged
merged 1 commit into from Oct 13, 2019

Conversation

johnfairh
Copy link
Contributor

Simple part of #1343, restore behavior to match pre-3.7 where the XML lexer uniquely claims responsibility for source that contains unrecognised DOCTYPE tags. Add a test for that.

@pyrmont pyrmont self-assigned this Oct 13, 2019
@pyrmont pyrmont merged commit abbf5fa into rouge-ruby:master Oct 13, 2019
@pyrmont
Copy link
Contributor

pyrmont commented Oct 13, 2019

@johnfairh Thanks for adding this. Good idea to add the test as well!

The next release of Rouge is scheduled for Tuesday. This update will go out as part of that 🎉

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.

None yet

2 participants