Node.js based forum software built for the modern web
dont crash if html is not string
barisusaklid3aa353d73d4
diff --git a/src/widgets.js b/src/widgets.jsindex 047befa8c2..c0234b2a28 100644--- a/src/widgets.js+++ b/src/widgets.js@@ -44,6 +44,10 @@ var async = require('async'),return next(err);}+ if (typeof html !== 'string') {+ html = '';+ }+if (widget.data.container && widget.data.container.match('{body}')) {html = templates.parse(widget.data.container, {title: widget.data.title,