diff --git a/lib/po.js b/lib/po.js index 623165f..a7f9c2c 100644 --- a/lib/po.js +++ b/lib/po.js @@ -20,12 +20,12 @@ PO.prototype.toString = function () { if (this.comments) { this.comments.forEach(function (comment) { - lines.push('# ' + comment); + lines.push(('# ' + comment).trim()); }); } if (this.extractedComments) { this.extractedComments.forEach(function (comment) { - lines.push('#. ' + comment); + lines.push(('#. ' + comment).trim()); }); }