mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-06 15:48:05 +00:00
Fix #1091 : handle empty description
This commit is contained in:
parent
0715325a63
commit
4e2c254558
@ -51,7 +51,7 @@ var Fetcher = function(url, reloadInterval, encoding) {
|
||||
if (title && pubdate) {
|
||||
|
||||
var regex = /(<([^>]+)>)/ig;
|
||||
description = description.replace(regex, "");
|
||||
description = description.toString().replace(regex, "");
|
||||
|
||||
items.push({
|
||||
title: title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user