popunder, atom-name fix

This commit is contained in:
cajun
2025-06-10 23:16:24 -05:00
parent ca430e9574
commit 895d006c8c
3 changed files with 41 additions and 24 deletions

View File

@@ -1703,6 +1703,15 @@ text_filter :=
in_context: "(^|[[:space:]]|\\(|,|\\.|:|“|\"|'||/|)<match>", #### TODO: Allow any punctuation before
replace: "<atom-autorem></atom-autorem>"
) +
#### step 3bb : debug atom fields
replace@(
match: "<atom-name>([^<]+)</atom-(card|print)",
replace: "<atom-\\2name>\\1</atom-\\2"
) +
replace@(
match: "<atom-name>",
replace: ""
) +
#### step 3c : fill in atom fields
tag_contents@(
tag: "<atom-cardname>",
@@ -1723,7 +1732,7 @@ text_filter :=
) +
replace@(
match:"^<atom-(card|print)name><nospellcheck>this",
replace:"<atom-\\2name><nospellcheck>This"
replace:"<atom-\\1name><nospellcheck>This"
) +
tag_contents@(
tag: "<atom-legname>",