Skip to content

Commit 2be4a53

Browse files
committed
matches[0]
1 parent 1cc59fd commit 2be4a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/plugin/KatexParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
displayMode: isMathMode
1414
})
1515
} catch (exception) {
16-
return matches[1] + matches[2] + matches[1]
16+
return matches[0]
1717
}
1818
}
1919
}

0 commit comments

Comments
 (0)