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 commonmark/commonmark.js#193.

commonmark/commonmark.js@47ef9d7
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Fri Dec 4 21:18:56 2020 -0800
  • Loading branch information
taku0 committed Jan 11, 2021
1 parent 5bec99e commit ab69719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmark-common.el
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"\\|"
cmark--CDATA
"\\)"))
(defconst cmark--reHtmlTag (list (concat "\\`" cmark--HTMLTAG) :ignore-case))
(defconst cmark--reHtmlTag (concat "\\`" cmark--HTMLTAG))

(defconst cmark--reBackslashOrAmp "[\\&]")

Expand Down

0 comments on commit ab69719

Please sign in to comment.