Replace curly braces with backslash-curly brace, so that the curly brace is shown in the pdf when it is part of a RO value.

This commit is contained in:
Rich 2014-05-21 12:39:36 +00:00
parent b78eb92448
commit 77c9897096

View File

@ -462,6 +462,7 @@ namespace VEPROMS.CSLA.Library
public void FixContentText(RoUsageInfo rousg, string value, int rotype, ROFstInfo origROFstInfo) // string newvalue)
{
string newvalue = value;
newvalue = newvalue.Replace("{", @"\{").Replace("}", @"\}");
string findLink = @"<START\].*?\[END>";
MatchCollection ms = Regex.Matches(Text, findLink);
//string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v '?\\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);