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: "Æ") + replace: "Æ") +
# step 2 : longdash for keywords # step 2 : longdash for keywords
replace_rule( replace_rule(
match: "--| - ", match: "--",
replace: "—") + replace: "—") +
replace_rule(
match: " - ",
replace: " — ") +
# step 3 : trademark symbol # step 3 : trademark symbol
replace_rule( replace_rule(
match: "TM", match: "TM",
replace: "™") + replace: "™") +
# step 4 : copyright symbol # step 4 : copyright symbol
replace_rule( replace_rule(
match: "CR", match: "CR|\\(C\\)",
replace: "©") replace: "©")
# the flavor text filter # the flavor text filter
@@ -363,6 +366,7 @@ set field:
set field: set field:
type: text type: text
name: copyright name: copyright
script: copyright_filter(value)
set field: set field:
type: symbol type: symbol
name: symbol name: symbol