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:
parent
b78eb92448
commit
77c9897096
@ -462,6 +462,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
public void FixContentText(RoUsageInfo rousg, string value, int rotype, ROFstInfo origROFstInfo) // string newvalue)
|
public void FixContentText(RoUsageInfo rousg, string value, int rotype, ROFstInfo origROFstInfo) // string newvalue)
|
||||||
{
|
{
|
||||||
string newvalue = value;
|
string newvalue = value;
|
||||||
|
newvalue = newvalue.Replace("{", @"\{").Replace("}", @"\}");
|
||||||
string findLink = @"<START\].*?\[END>";
|
string findLink = @"<START\].*?\[END>";
|
||||||
MatchCollection ms = Regex.Matches(Text, findLink);
|
MatchCollection ms = Regex.Matches(Text, findLink);
|
||||||
//string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v '?\\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);
|
//string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v '?\\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user