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:
twanvl
2007-05-11 23:07:47 +00:00
parent a73f2f81bf
commit 16df8f9a2d
+6 -2
View File
@@ -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