Skip to content

Commit

Permalink
Remove unused code (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakov116 authored Jun 13, 2023
1 parent 9a880b8 commit cc73065
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/xmlparser/DocTypeReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ function isNotation(xmlData, i){
return false
}

//an entity name should not contains special characters that may be used in regex
//Eg !?\\\/[]$%{}^&*()<>
const specialChar = "!?\\\/[]$%{}^&*()<>|+";

function validateEntityName(name){
if (util.isName(name))
return name;
Expand Down

0 comments on commit cc73065

Please sign in to comment.