Commit a23741ab authored by twanvl's avatar twanvl

also apply copyright script in set options

parent 9bf5af8f
...@@ -271,15 +271,18 @@ init script: ...@@ -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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment