From d76a255c92b5689fc66354661bea9a0883a1c347 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Tue, 14 Oct 2014 11:22:09 -0400 Subject: [PATCH] Escaping screws up the colors - duh! --- HtmlLabelControl/TextParser.cs | 4 ---- 1 file changed, 4 deletions(-) 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);