make wpcentral articles work again

This commit is contained in:
2014-07-17 09:49:25 +02:00
parent 6a579014f9
commit 5ba5ff3d78
3 changed files with 9 additions and 6 deletions
@@ -92,6 +92,9 @@ namespace ReadSharp.Ports.NReadability
private static XDocument LoadDocument(string htmlContent)
{
// I should not really do this, but I <3 WPCentral
htmlContent = htmlContent.Replace("src=\"javascript:'<html ><head ></head ><body ></body ></html >'\"", "");
using (var sgmlReader = new SgmlReader())
{
sgmlReader.CaseFolding = CaseFolding.ToLower;