mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
updated lite
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user