You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ import {
5
5
Plugin,
6
6
PluginSettingTab,
7
7
requestUrl,
8
+
sanitizeHTMLToDom,
8
9
Setting,
9
10
}from"obsidian";
10
11
importMediumGatewayfrom"src/medium-gateway";
@@ -82,10 +83,10 @@ class DevPublishSettingTab extends PluginSettingTab {
82
83
83
84
containerEl.empty();
84
85
86
+
85
87
newSetting(containerEl)
86
88
.setName("API key")
87
-
.setDesc(
88
-
"SECURITY WARNING! This will be stored unencrypted in your obsidian plugin folder. Do not use this plugin if you do not fully understand the security implications of this.",
89
+
.setDesc(sanitizeHTMLToDom("<b>Security warning!</b><br />This will be stored unencrypted in your obsidian plugin folder. Do not use this plugin if you do not fully understand the security implications of this.")
0 commit comments