mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
also apply copyright script in set options
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@340 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -271,15 +271,18 @@ init script:
|
||||
replace: "Æ") +
|
||||
# step 2 : longdash for keywords
|
||||
replace_rule(
|
||||
match: "--| - ",
|
||||
match: "--",
|
||||
replace: "—") +
|
||||
replace_rule(
|
||||
match: " - ",
|
||||
replace: " — ") +
|
||||
# step 3 : trademark symbol
|
||||
replace_rule(
|
||||
match: "TM",
|
||||
replace: "™") +
|
||||
# step 4 : copyright symbol
|
||||
replace_rule(
|
||||
match: "CR",
|
||||
match: "CR|\\(C\\)",
|
||||
replace: "©")
|
||||
|
||||
# the flavor text filter
|
||||
@@ -363,6 +366,7 @@ set field:
|
||||
set field:
|
||||
type: text
|
||||
name: copyright
|
||||
script: copyright_filter(value)
|
||||
set field:
|
||||
type: symbol
|
||||
name: symbol
|
||||
|
||||
Reference in New Issue
Block a user