diff --git a/HtmlLabelControl/TextParser.cs b/HtmlLabelControl/TextParser.cs index 8ad6dfd..4c61827 100644 --- a/HtmlLabelControl/TextParser.cs +++ b/HtmlLabelControl/TextParser.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; -using System.Security; using System.Windows; using System.Windows.Media; using System.Xml; @@ -17,9 +16,6 @@ namespace Common.Wpf.HtmlLabelControl { _parentControl = parentControl; - // Escape the supplied text - text = SecurityElement.Escape(text); - // Add a root tag so the parser is happy text = string.Format(CultureInfo.InvariantCulture, "
{0}", text);