This commit is contained in:
cajun
2025-09-26 04:11:39 -05:00
parent cabc89fc1f
commit ed9478820d
11 changed files with 18 additions and 9 deletions

View File

@@ -1801,7 +1801,7 @@ text_filter :=
} +
#### step 4 : explict non mana symbols
replace@(
match: "\\][-+=]?[VHSCEKPLOTQ\\?XYZIWUBRG0-9/|]+\\[",
match: "\\][-+=]?[VHSCEKPLOTQINF\\?XYZIWUBRG0-9/|]+\\[",
replace: {"<nosym>" + mana_filter_t() + "</nosym>"}
) +
#### step 5 : add mana & tap symbols
@@ -1827,6 +1827,10 @@ text_filter :=
replace: "\\1"
) +
#### step 5c : add explicit mana symbols
replace@(
match: "\\[INF\\]",
replace: {"<sym>INF</sym>" }
) +
replace@(
match: "\\[[-+=]?[VHSCEKPLOTQ\\?XYZIWUBRG0-9/|]+\\]",
replace: {"<sym>" + mana_filter_t() + "</sym>"}