Merge pull request #1092 from sebcaps/develop

Fix #1091 : handle empty description
This commit is contained in:
Michael Teeuw
2017-11-26 20:54:13 +01:00
committed by GitHub

View File

@@ -51,7 +51,7 @@ var Fetcher = function(url, reloadInterval, encoding) {
if (title && pubdate) { if (title && pubdate) {
var regex = /(<([^>]+)>)/ig; var regex = /(<([^>]+)>)/ig;
description = description.replace(regex, ""); description = description.toString().replace(regex, "");
items.push({ items.push({
title: title, title: title,