remove innerhtml

This commit is contained in:
andreas 2024-12-31 10:24:35 +01:00
parent 76de721d26
commit ed26e3d2bc
3 changed files with 9 additions and 5 deletions

10
main.ts
View file

@ -406,8 +406,12 @@ class CooksyncSettingTab extends PluginSettingTab {
});
}
const help = containerEl.createEl("p");
help.innerHTML =
"Issues? Please email us at <a href='mailto:info@cooksync.app'>info@cooksync.app</a>.";
const help = containerEl.createEl("p", {
text: "Issues? Please email us at ",
});
help.createEl("a", {
text: "info@cooksync.app",
href: "mailto:info@cooksync.app",
});
}
}

View file

@ -1,7 +1,7 @@
{
"id": "cooksync",
"name": "Cooksync",
"version": "1.0.1",
"version": "1.0.2",
"minAppVersion": "1.0.0",
"description": "Automatically imports Cooksync data.",
"author": "Cooksync",

View file

@ -1,6 +1,6 @@
{
"name": "cooksync-obsidian",
"version": "1.0.1",
"version": "1.0.2",
"description": "Cooksync Obsidian sync (https://cooksync.app)",
"main": "main.js",
"scripts": {