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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user