diff --git a/PolyFeed/Helpers/HtmlHelpers.cs b/PolyFeed/Helpers/HtmlHelpers.cs index 15b1257..86c2d8b 100644 --- a/PolyFeed/Helpers/HtmlHelpers.cs +++ b/PolyFeed/Helpers/HtmlHelpers.cs @@ -15,6 +15,10 @@ namespace PolyFeed.Helpers if (selectedNode == null) throw new ApplicationException($"Error: Selector {settings.Selector} failed to find any elements."); + foreach (HtmlNode nextNode in htmlNode.QuerySelectorAll("br")) { + nextNode.InnerHtml = "\n"; + } + Console.WriteLine("InnerText: {0}", selectedNode.InnerText); if (string.IsNullOrWhiteSpace(settings.Attribute)) return selectedNode.InnerText;