remove italics tags from names
This commit is contained in:
@@ -99,7 +99,8 @@ script:
|
|||||||
replace@(match:":", replace:"")+ #remove colons
|
replace@(match:":", replace:"")+ #remove colons
|
||||||
replace@(match:";", replace:"")+ #remove semicolons
|
replace@(match:";", replace:"")+ #remove semicolons
|
||||||
replace@(match:"\n", replace:"")+ #remove linebreaks
|
replace@(match:"\n", replace:"")+ #remove linebreaks
|
||||||
replace@(match:"\\.", replace:"") #remove periods
|
replace@(match:"\\.", replace:"")+ #remove periods
|
||||||
|
remove_tags
|
||||||
|
|
||||||
# escape special xml characters
|
# escape special xml characters
|
||||||
xml_escape := replace@(match:"&",replace:"&") #escape ampersands
|
xml_escape := replace@(match:"&",replace:"&") #escape ampersands
|
||||||
@@ -115,7 +116,7 @@ script:
|
|||||||
exporter_name_grabber := replace@(match:"!exporte?r?name ", replace:"")
|
exporter_name_grabber := replace@(match:"!exporte?r?name ", replace:"")
|
||||||
|
|
||||||
#determining what name should be used for the card
|
#determining what name should be used for the card
|
||||||
card_name := { if exporter_name_grabber(exporter_name_filter(card.notes)) != "" then exporter_name_grabber(exporter_name_filter(card.notes)) else card.name }
|
card_name := { if exporter_name_grabber(exporter_name_filter(card.notes)) != "" then exporter_name_grabber(exporter_name_filter(card.notes)) else remove_tags(card.name) }
|
||||||
|
|
||||||
#surround mana symbols in curly brackets
|
#surround mana symbols in curly brackets
|
||||||
format_mana := replace@(match:"(CHAOS|[1-9][0-9]+(?:\\/.)?|.\\/.\\/.|.\\/.|[+-]?[^.,: ])", replace:{"\{"+_1+"}"}, in_context:"<sym(-auto)?><match></sym")
|
format_mana := replace@(match:"(CHAOS|[1-9][0-9]+(?:\\/.)?|.\\/.\\/.|.\\/.|[+-]?[^.,: ])", replace:{"\{"+_1+"}"}, in_context:"<sym(-auto)?><match></sym")
|
||||||
|
|||||||
Reference in New Issue
Block a user