fix(songs): sibling substitution uses bare tag match, not [[TAG]] wrapper

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 00:46:57 +09:00
parent 87874fa935
commit f2fe4da667
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ def apply_sibling_substitutions(wikitext: str, this_path: Path, fm_wiki: dict, s
replacement = label
else:
replacement = tag
wikitext = wikitext.replace(f"[[{tag}]]", replacement)
wikitext = wikitext.replace(tag, replacement)
return wikitext