Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use 4 spaces for tab output.

  • Loading branch information...
commit 1def332152ef4e5cb76a991ab7b8b6a7a0e321c6 1 parent 48a2429
@scottgonzalez authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  pretty-diff.js
View
3  pretty-diff.js
@@ -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 ) {
Please sign in to comment.
Something went wrong with that request. Please try again.