cmark

My personal build of CMark ✏️

Commit
189685f5a0527e90f4ff31623d219415e2735fac
Parent
fb0c0cc2741120e3706c7698b15a510c40fc71c0
Author
John MacFarlane <jgm@berkeley.edu>
Date

Eliminated unnecessary variable.

Diffstat

1 file changed, 1 insertion, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified js/stmd.js 3 1 2
diff --git a/js/stmd.js b/js/stmd.js
@@ -3205,8 +3205,7 @@
 
             switch (container.t) {
             case 'BlockQuote':
-                var matched = indent <= 3 && ln.charAt(first_nonspace) === '>';
-                if (matched) {
+                if (indent <= 3 && ln.charAt(first_nonspace) === '>') {
                     offset = first_nonspace + 1;
                     if (ln.charAt(offset) === ' ') {
                         offset++;