Skip to content

Commit

Permalink
#5 incorrect placement of comma after null values
Browse files Browse the repository at this point in the history
  • Loading branch information
barsh committed Mar 15, 2016
1 parent 0be7284 commit be1ae6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -40,7 +40,7 @@ module.exports = function(doc) {
return '<span class="json-markup-number">'+obj+'</span>';

case 'null':
return '<span class="json-markup-null">null</span>\n';
return '<span class="json-markup-null">null</span>';

case 'string':
return '<span class="json-markup-string">"'+escape(obj.replace(/\n/g, '\n'+indent))+'"</span>';
Expand Down

0 comments on commit be1ae6f

Please sign in to comment.