Regular apostrophes become fancy apostrophes in Magic and Vanguard.

Moved tilde name replacement to automatic text replacements in Vanguard.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1383 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2009-06-09 18:57:18 +00:00
parent a63d9bed90
commit e1f0ea7c88
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ sort_name :=
# Remove "The", "A", and "And" at the beginning
replace@(match: "^(The|An?) ", replace: "") +
# Remove commas and apostrophes
replace@(match: "(,|')", replace: "") +
replace@(match: "(,|'|)", replace: "") +
# Remove bold and italic tags
replace@(match: "(<b>|<i>|</b>|</i>)", replace: "") +
# Make lowercase