This commit is contained in:
@@ -134,7 +134,9 @@ namespace DataLoader
|
||||
item = Item.MakeItem(FromItem, content, content.DTS, content.UserID);
|
||||
|
||||
// Remove styles that user entered but are automatically done via the format
|
||||
string tstr = item.MyItemInfo.RemoveRtfStyles(content.Text,fmt);
|
||||
string tstr = null;
|
||||
using (ItemInfo myInfo = item.MyItemInfo) // do this so that ItemInfo doesn't stay in cashe
|
||||
tstr = myInfo.RemoveRtfStyles(content.Text, fmt);
|
||||
if (tstr != content.Text)
|
||||
{
|
||||
item.MyContent.Text = tstr;
|
||||
|
Reference in New Issue
Block a user