diff --git a/lib/po.js b/lib/po.js index 2accd8f..50cb0a1 100644 --- a/lib/po.js +++ b/lib/po.js @@ -81,7 +81,7 @@ PO.parse = function(data) { header = header.trim().replace(/^"/, '').replace(/\\n"$/, ''); var p = header.split(/:/) , name = p.shift().trim() - , value = p.join(':').trim().replace(/n$/); + , value = p.join(':').trim(); po.headers[name] = value; } }); @@ -202,4 +202,4 @@ PO.Item.prototype.toString = function() { return lines.join("\n"); }; -module.exports = PO; \ No newline at end of file +module.exports = PO;