mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-20 02:37:21 +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}`);
|
const fullRevision = await server.get<FullRevision>(`revisions/${revisionItem.revisionId}`);
|
||||||
|
|
||||||
if (revisionItem.type === "text") {
|
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) {
|
if (this.$content.find("span.math-tex").length > 0) {
|
||||||
await libraryLoader.requireLibrary(libraryLoader.KATEX);
|
await libraryLoader.requireLibrary(libraryLoader.KATEX);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user