diff --git a/core/TextParsers.cpp b/core/TextParsers.cpp index 2bee2732..1fd4ad6d 100644 --- a/core/TextParsers.cpp +++ b/core/TextParsers.cpp @@ -166,10 +166,36 @@ const char *FixupString(StringInfo &data) } #endif + /* Do some extra work on strings that have special quoted characters. */ if (data.special) { - //:TODO: this string has special tokens in it, like \, and we must - //resolve these before passing the string back to the app + char *outptr = data.ptr; + size_t len = data.end - data.ptr; + if (len >= 2) + { + for (size_t i=0; i