From 77c9897096b62734470f07cb6e4c93f5ef6fd231 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 21 May 2014 12:39:36 +0000 Subject: [PATCH] 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. --- PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs index d476a128..7b9d0280 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs @@ -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 = @""; MatchCollection ms = Regex.Matches(Text, findLink); //string lookFor = string.Format(@"", rousg.ROUsageID);