Skip to content

Commit

Permalink
Merge pull request #6 from barsh/master
Browse files Browse the repository at this point in the history
#5 incorrect placement of comma after null values
  • Loading branch information
mafintosh committed Mar 15, 2016
2 parents 0be7284 + be1ae6f commit 8546946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
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 8546946

Please sign in to comment.