diff --git a/index.js b/index.js
index 0a5f41c..4302911 100644
--- a/index.js
+++ b/index.js
@@ -40,7 +40,7 @@ module.exports = function(doc) {
return ''+obj+'';
case 'null':
- return 'null\n';
+ return 'null';
case 'string':
return '"'+escape(obj.replace(/\n/g, '\n'+indent))+'"';