Skip to content

Commit

Permalink
Release version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfpessoa committed Mar 18, 2017
1 parent f31edca commit ffb5d52
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "diff2html",
"version": "2.0.12",
"version": "2.3.0",
"homepage": "https://diff2html.xyz",
"description": "Fast Diff to colorized HTML",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions dist/diff2html.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions dist/diff2html.js
Original file line number Diff line number Diff line change
Expand Up @@ -3262,7 +3262,7 @@ process.umask = function() { return 0; };
LineByLinePrinter.prototype.makeColumnLineNumberHtml = function(block) {
return hoganUtils.render(genericTemplatesPath, 'column-line-number', {
diffParser: diffParser,
blockHeader: block.header,
blockHeader: utils.escape(block.header),
lineClass: 'd2h-code-linenumber',
contentClass: 'd2h-code-line'
});
Expand Down Expand Up @@ -3866,7 +3866,7 @@ process.umask = function() { return 0; };
SideBySidePrinter.prototype.makeSideHtml = function(blockHeader) {
return hoganUtils.render(genericTemplatesPath, 'column-line-number', {
diffParser: diffParser,
blockHeader: blockHeader,
blockHeader: utils.escape(blockHeader),
lineClass: 'd2h-code-side-linenumber',
contentClass: 'd2h-code-side-line'
});
Expand Down Expand Up @@ -4096,6 +4096,9 @@ module.exports = global.browserTemplates;
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;')
.replace(/'/g, '&#x27;')
.replace(/\//g, '&#x2F;')
.replace(/\t/g, ' ');
};

Expand Down
Loading

0 comments on commit ffb5d52

Please sign in to comment.