shareHTML to shareHtml

This commit is contained in:
Kevin Leutzinger
2025-10-01 03:30:16 -04:00
parent d483b6e840
commit 0a25d4db0d
2 changed files with 4 additions and 4 deletions

View File

@@ -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";