various fixes
This commit is contained in:
@@ -415,6 +415,7 @@ function noteList(notes) {
|
||||
el("div", { class: "note-title", text: n.title || "Untitled" }),
|
||||
meta,
|
||||
el("div", { class: "note-tags", text: tags }),
|
||||
n.snippet ? el("div", { class: "note-snippet", html: marked.parse(n.snippet) }) : null,
|
||||
]);
|
||||
ul.appendChild(el("li", { class: isCommon ? "note-item note-common" : "note-item", onclick: () => openNote(n.id) }, [
|
||||
n.image ? el("img", { class: "note-thumb", src: n.image, alt: "", loading: "lazy" }) : null,
|
||||
|
||||
Reference in New Issue
Block a user