Skip to content

Commit 99b0516

Browse files
fredckdomchristie
andauthoredMar 5, 2020
Minor stylistic fixes.
Co-Authored-By: Dom Christie <christiedom@gmail.com>
1 parent 8e072d2 commit 99b0516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/commonmark-rules.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ rules.fencedCodeBlock = {
119119

120120
var match
121121
while ((match = fenceInCodeRegex.exec(code))) {
122-
if (match[ 0 ].length >= fenceSize) {
123-
fenceSize = match[ 0 ].length + 1
122+
if (match[0].length >= fenceSize) {
123+
fenceSize = match[0].length + 1
124124
}
125125
}
126126

0 commit comments

Comments
 (0)
Please sign in to comment.