From f66b6d81d24f304e732a70bd98478b83f1c0aec8 Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 5 Nov 2017 21:25:46 -0500 Subject: Ignore empty string about properties --- lib/render-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/render-msg.js b/lib/render-msg.js index 88224f0..5cd6e2d 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -492,7 +492,7 @@ RenderMsg.prototype.about = function (cb) { var extras for (var k in this.c) { - if (!knownAboutProps[k]) { + if (this.c[k] !== null && this.c[k] !== '' && !knownAboutProps[k]) { if (!extras) extras = {} extras[k] = this.c[k] } -- cgit v1.2.3