About Social Code
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2025-04-08 22:06:12 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2025-04-08 22:06:12 +0100
commit5bdd1d1ef7286db0438ed5c779e7f9cda18175ae (patch)
treed204873a7ea2378382b183b4c203096ca3080c65 /tools
parentc4e6af8c93cafcf58de961f3424a2002ec63da0a (diff)
Add build a town note
Diffstat (limited to 'tools')
-rw-r--r--tools/note.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/note.lua b/tools/note.lua
index 199d5c0..8a44f2f 100644
--- a/tools/note.lua
+++ b/tools/note.lua
@@ -5,7 +5,7 @@ local meta_tools = require("tools/meta_tools")
local status_map = {"seedling", "budding", "evergreen"}
function Link(link)
- if not string.find(link.target, "://") then
+ if not string.find(link.target, "://") and not string.sub(link.target, 1, 7) == "mailto:" then
local note = meta_tools.get_note(link.target)
local text = note["title"]
if string.len(stringify(link.content)) ~= 0 then