Skip to content

Commit cc73065

Browse files
authored
Remove unused code (#587)
1 parent 9a880b8 commit cc73065

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/xmlparser/DocTypeReader.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ function isNotation(xmlData, i){
142142
return false
143143
}
144144

145-
//an entity name should not contains special characters that may be used in regex
146-
//Eg !?\\\/[]$%{}^&*()<>
147-
const specialChar = "!?\\\/[]$%{}^&*()<>|+";
148-
149145
function validateEntityName(name){
150146
if (util.isName(name))
151147
return name;

0 commit comments

Comments
 (0)