Skip to content

Commit ad00c1b

Browse files
committed
Regenerated dist files, added minified version.
1 parent 6572a04 commit ad00c1b

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
*.bak
33
*.diff
44
*#
5-
node_modules/
6-
dist/commonmark.min.js
5+
node_modules/

dist/commonmark.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ var InlineParser = require('./inlines');
1515

1616
var BLOCKTAGNAME = '(?:article|header|aside|hgroup|iframe|blockquote|hr|body|li|map|button|object|canvas|ol|caption|output|col|p|colgroup|pre|dd|progress|div|section|dl|table|td|dt|tbody|embed|textarea|fieldset|tfoot|figcaption|th|figure|thead|footer|footer|tr|form|ul|h1|h2|h3|h4|h5|h6|video|script|style)';
1717

18-
var HTMLBLOCKOPEN = "<(?:" + BLOCKTAGNAME + "[\\s/>]" + "|" +
19-
"/" + BLOCKTAGNAME + "[\\s>]" + "|" + "[?!])";
18+
var HTMLBLOCKOPEN = "<(?:" + BLOCKTAGNAME + "(?:[\\s/>]|$)" + "|" +
19+
"/" + BLOCKTAGNAME + "(?:[\\s>]|$)" + "|" + "[?!])";
2020

2121
var reHtmlBlockOpen = new RegExp('^' + HTMLBLOCKOPEN, 'i');
2222

dist/commonmark.min.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)