We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18dabd8 commit 0d122f0Copy full SHA for 0d122f0
src/utils/converter.js
@@ -43,7 +43,7 @@ export const solveZhihuMath = () => {
43
export const solveHtml = () => {
44
const element = document.getElementById(BOX_ID);
45
let html = element.innerHTML;
46
- html = html.replace(/<mjx-container( class="inline.+?)<\/mjx-container>/g, "<span $1</span>");
+ html = html.replace(/<mjx-container (class="inline.+?)<\/mjx-container>/g, "<span $1</span>");
47
html = html.replace(/\s<span class="inline/g, ' <span class="inline');
48
html = html.replace(/svg><\/span>\s/g, "svg></span> ");
49
html = html.replace(/mjx-container/g, "section");
0 commit comments