This commit is contained in:
2009-02-26 15:35:36 +00:00
parent 490db100a6
commit ff815ba28c
3 changed files with 8 additions and 2 deletions

View File

@@ -193,6 +193,11 @@ namespace DataLoader
s2 = Regex.Replace(s2, @"\x13([^\x13 ]*?)(?:[\x13]|(?= )|\Z)(.*?)", @"\b $1\b0 $2");
s2 = Reg2.Replace(s2, new MatchEvaluator(ReplaceChars));
// Now prepend an escape character, '\', to any curly brace. The curly brace
// is used in rtf land.
s2 = s2.Replace(@"{", @"\{");
s2 = s2.Replace(@"}", @"\}");
return s2;
}
}