diff --git a/public/js/app.js b/public/js/app.js index c63afb3..0cd4602 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -92,7 +92,7 @@ define([ }, htmlspecialchars: function (html) { - if (html) { + if (!html) { return ''; } return html.replace(/&/g, '&')