mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 00:36:59 +02:00
fix(sidebar): equations not rendered for read-only text
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user