fix(sidebar): equations not rendered for read-only text

This commit is contained in:
Elian Doran
2026-04-11 13:53:10 +03:00
parent c5ee7083d8
commit 2b63af82ec

View File

@@ -260,7 +260,7 @@ function extractTocFromStaticHtml(el: HTMLElement | null) {
headings.push({
id: randomString(),
level: parseInt(headingEl.tagName.substring(1), 10),
text: headingEl.textContent,
text: headingEl.innerHTML,
element: headingEl
});
}