Skip to content

Commit

Permalink
reHtmlTag: don't use case-insensitive matching.
Browse files Browse the repository at this point in the history
The spec specifies uppercase for declarations and cdata.

Closes #193.
  • Loading branch information
jgm committed Dec 5, 2020
1 parent 8fa6136 commit 47ef9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var HTMLTAG =
"|" +
CDATA +
")";
var reHtmlTag = new RegExp("^" + HTMLTAG, "i");
var reHtmlTag = new RegExp("^" + HTMLTAG);

var reBackslashOrAmp = /[\\&]/;

Expand Down

0 comments on commit 47ef9d7

Please sign in to comment.