B2015-134 Hanging Indent with Hard Returns was not being saved

This commit is contained in:
Rich
2016-07-20 12:43:40 +00:00
parent e19db72647
commit 2099596290
2 changed files with 7 additions and 4 deletions

View File

@@ -337,8 +337,9 @@ namespace VEPROMS.CSLA.Library
//text = text.Replace(@"\'99", @"\u8482?");
text = RtfTools.RTFConvertedSymbolsToUnicode(text);
text = text.Replace("\r\n", @"\line "); // replace a \r\n with a \line instead of a \par
text = text.Replace(@"\line", @"\pard\line");
text = text.Replace(@"\pard\pard\line", @"\pard\line");
// B2015-134 Hanging Indent with Hard Returns was not being saved
//text = text.Replace(@"\line", @"\pard\line");
//text = text.Replace(@"\pard\pard\line", @"\pard\line");
//if (text.IndexOf(@"\line") > -1)
// MessageBox.Show("Found rtf line");
//text = text.Replace(@"\line", @"\par"); // we don't want to replace the \line part of bug fix B2015-140