mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
shareHTML to shareHtml
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
|
||||
// Collect HTML snippets by location
|
||||
const htmlSnippetsByLocation = {};
|
||||
for (const htmlRelation of note.getRelations("shareHTML")) {
|
||||
for (const htmlRelation of note.getRelations("shareHtml")) {
|
||||
const htmlNote = htmlRelation.targetNote;
|
||||
if (htmlNote) {
|
||||
let location = htmlNote.getLabelValue("shareHTMLLocation") || "content:end";
|
||||
let location = htmlNote.getLabelValue("shareHtmlLocation") || "content:end";
|
||||
// Default to :end if no position specified
|
||||
if (!location.includes(":")) {
|
||||
location = location + ":end";
|
||||
|
||||
Reference in New Issue
Block a user