From ed26e3d2bc7e175bebb9e319928fb3f8a11fabcc Mon Sep 17 00:00:00 2001 From: andreas Date: Tue, 31 Dec 2024 10:24:35 +0100 Subject: [PATCH] remove innerhtml --- main.ts | 10 +++++++--- manifest.json | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/main.ts b/main.ts index 2db14c1..def8b50 100644 --- a/main.ts +++ b/main.ts @@ -406,8 +406,12 @@ class CooksyncSettingTab extends PluginSettingTab { }); } - const help = containerEl.createEl("p"); - help.innerHTML = - "Issues? Please email us at info@cooksync.app."; + const help = containerEl.createEl("p", { + text: "Issues? Please email us at ", + }); + help.createEl("a", { + text: "info@cooksync.app", + href: "mailto:info@cooksync.app", + }); } } diff --git a/manifest.json b/manifest.json index e22a864..33c4e24 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/package.json b/package.json index dbfb952..ad8553e 100644 --- a/package.json +++ b/package.json @@ -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": {