mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Added "AE" filter to flavor text. Allowed nesting of curly quotes.
Also compatibility update. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@445 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
//+----------------------------------------------------------------------------+
|
||||
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
||||
//| Copyright: (C) 2001 - 2007 Twan van Laarhoven |
|
||||
@@ -106,7 +107,8 @@ SCRIPT_FUNCTION(curly_quotes) {
|
||||
} else if (c == _('>')) {
|
||||
in_tag = false;
|
||||
} else if (!in_tag) {
|
||||
open = isSpace(c);
|
||||
// Also allow double-nesting of quotes
|
||||
open = isSpace(c) || c == LEFT_DOUBLE_QUOTE || c == LEFT_SINGLE_QUOTE;
|
||||
}
|
||||
}
|
||||
SCRIPT_RETURN(input);
|
||||
|
||||
Reference in New Issue
Block a user