From 420cc5c2bec62c2d605e53e8131caebedd9db9e7 Mon Sep 17 00:00:00 2001 From: Dextheking1 Date: Fri, 23 Oct 2026 13:27:05 +0200 Subject: [PATCH] export: sanitize obsidian frontmatter tag values --- graphify/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphify/export.py b/graphify/export.py index ff2133364..b3804a3e5 100644 --- a/graphify/export.py +++ b/graphify/export.py @@ -859,9 +859,9 @@ def to_obsidian( # Build tags for this node ftype = data.get("file_type", "") - ftype_tag = _FTYPE_TAG.get(ftype, f"graphify/{ftype}" if ftype else "graphify/document") + ftype_tag = _FTYPE_TAG.get(ftype, f"graphify/{_obsidian_tag(ftype)}" if ftype else "graphify/document") dom_conf = _dominant_confidence(node_id) - conf_tag = f"graphify/{dom_conf}" + conf_tag = f"graphify/{_obsidian_tag(dom_conf)}" comm_tag = f"community/{_obsidian_tag(community_name)}" node_tags = [ftype_tag, conf_tag, comm_tag]