Permalink
Browse files

Use 4 spaces for tab output.

  • Loading branch information...
1 parent 48a2429 commit 1def332152ef4e5cb76a991ab7b8b6a7a0e321c6 @scottgonzalez committed Apr 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 pretty-diff.js
View
@@ -47,7 +47,8 @@ var markUpDiff = function() {
return str
.replace( /&/g, "&" )
.replace( /</g, "&lt;" )
- .replace( />/g, "&gt;" );
+ .replace( />/g, "&gt;" )
+ .replace( /\t/g, " " );
}
return function( diff ) {

0 comments on commit 1def332

Please sign in to comment.