updated lite

This commit is contained in:
Concedo
2025-12-28 21:43:18 +08:00
parent 07fb18a04b
commit 4c1daf886a
+2
View File
@@ -7075,8 +7075,10 @@ Current version indicated by LITEVER below.
}
//to aid the latex renderer, we temporarily add newlines between some blocks
md = md.replace(/<\/li><li>/gm, "</li>\n<li>");
md = md.replace(/<\/tr><tr class/gm, "</tr>\n<tr class");
md = replaceLatex(md);
md = md.replace(/<\/li>\n<li>/gm, "</li><li>");
md = md.replace(/<\/tr>\n<tr class/gm, "</tr><tr class");
}
md = md.replace(/<\/ul>\n/gm, "</ul>").replace(/<\/ol>\n/gm, "</ol>");
md = md.replace(/\\([`_~\*\+\-\.\^\\\<\>\(\)\[\]])/gm, "$1");