From 30ed0739aa64abdb1dc4372c6618c4c5f35cd992 Mon Sep 17 00:00:00 2001 From: John Conway Date: Fri, 17 May 2019 18:57:04 +0100 Subject: [RSS] CData fix --- src/FeedNim/rss.nim | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/FeedNim/rss.nim') diff --git a/src/FeedNim/rss.nim b/src/FeedNim/rss.nim index c65b13f..47f141a 100644 --- a/src/FeedNim/rss.nim +++ b/src/FeedNim/rss.nim @@ -97,11 +97,15 @@ func parseCategories( node: XmlNode ): seq[RSSCategory] = return categories func parseText ( node: XmlNode ): string = - var content = node.innerText - if content.len() > 14: - if content[0 .. 8] == "