diff --git a/modules/core/Global.js b/modules/core/Global.js index f976129f..41e32357 100644 --- a/modules/core/Global.js +++ b/modules/core/Global.js @@ -225,7 +225,7 @@ var encodeForm = function(text) { * The text with the tags stripped out. */ var stripTags = function (markup) { - if (markup === null) return markup; + if (!markup) return ''; var chars = String(markup).split(''); var charCounter = 0;