cmark

My personal build of CMark ✏️

Commit
3810f76a5939023d01e7ab082a6693e4634f15ad
Parent
9ead350be9302268214801ef966f4f50efc4996a
Author
John MacFarlane <jgm@berkeley.edu>
Date

Cleanup.

Diffstat

1 file changed, 3 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified js/stmd.js 7 3 4
diff --git a/js/stmd.js b/js/stmd.js
@@ -405,10 +405,10 @@ var parseLinkLabel = function() {
   while ((c = this.peek()) && (c != ']' || nest_level > 0)) {
     switch (c) {
       case '`':
-        this.parseBackticks([]);
+        this.parseBackticks();
         break;
       case '<':
-        this.parseAutolink([]) || this.parseHtmlTag([]) || this.parseString();
+        this.parseAutolink() || this.parseHtmlTag() || this.parseString();
         break;
       case '[':  // nested []
         nest_level++;
@@ -666,8 +666,7 @@ var parseInline = function() {
     res = this.parseImage(inlines);
     break;
   case '<':
-    res = this.parseAutolink() ||
-      this.parseHtmlTag();
+    res = this.parseAutolink() || this.parseHtmlTag();
     break;
   case '&':
     res = this.parseEntity();