This PR fixes a bug where if a comment in the doctype definition contains '<' or '>' it throws an error. The XML specification allows '<' and '>' in comments, and does not note an exception excluding them in the DTD.
Note : Please ensure that you've read contribution guidelines before raising this PR. If your PR is in progress, please prepend [WIP] in PR title. Your PR will be reviewed when [WIP] will be removed from the PR title.
Coverage: 98.511% (+0.04%) from 98.467% when pulling 58bd746d4de84f05dd236d69c4df68cff36c56f5 on Cwazywierdo:doctype-comment-angle-bracket into 007d6386969e2212ccab80a5c4385c1dbcba2876 on NaturalIntelligence:master.
Coverage: 98.511% (+0.04%) from 98.467% when pulling 58bd746d4de84f05dd236d69c4df68cff36c56f5 on Cwazywierdo:doctype-comment-angle-bracket into 007d6386969e2212ccab80a5c4385c1dbcba2876 on NaturalIntelligence:master.
Purpose / Goal
This PR fixes a bug where if a comment in the doctype definition contains '<' or '>' it throws an error. The XML specification allows '<' and '>' in comments, and does not note an exception excluding them in the DTD.
Closes #530
Benchmarks
Before
After
Type
Please mention the type of PR
Note : Please ensure that you've read contribution guidelines before raising this PR. If your PR is in progress, please prepend
[WIP]
in PR title. Your PR will be reviewed when[WIP]
will be removed from the PR title.Bookmark this repository for further updates.