MathJax small fix

This commit is contained in:
Klemek
2019-06-22 14:13:20 +02:00
parent 9d3c1d0847
commit 6bdcd6872e
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ module.exports = (config) => {
};
const eqRegex = /\$\$((?:(?!\$\$)[\s\S])*)\$\$/m;
const inlineEqRegex = /\$([^$]*)\$/;
const inlineEqRegex = /\$([^$\n]*)\$/;
let match;
if ((match = eqRegex.exec(data))) {