mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-18 17:31:53 +08:00
fix(client/revisions): improper rendering of nested lists (closes #1177)
This commit is contained in:
parent
e2cd875c03
commit
4b597c5d2c
@ -297,7 +297,7 @@ export default class RevisionsDialog extends BasicWidget {
|
||||
const fullRevision = await server.get<FullRevision>(`revisions/${revisionItem.revisionId}`);
|
||||
|
||||
if (revisionItem.type === "text") {
|
||||
this.$content.html(fullRevision.content);
|
||||
this.$content.html(`<div class="ck-content">${fullRevision.content}</div>`);
|
||||
|
||||
if (this.$content.find("span.math-tex").length > 0) {
|
||||
await libraryLoader.requireLibrary(libraryLoader.KATEX);
|
||||
|
Loading…
x
Reference in New Issue
Block a user