Release 2.10.1
This commit is contained in:
parent
4e6db583e3
commit
0697ac6d55
3 changed files with 14 additions and 3 deletions
13
dist/diff2html.js
vendored
13
dist/diff2html.js
vendored
|
|
@ -3513,13 +3513,16 @@ process.umask = function() { return 0; };
|
|||
}
|
||||
|
||||
var defaultConfig = {
|
||||
wordByWord: true,
|
||||
inputFormat: 'diff',
|
||||
outputFormat: 'line-by-line',
|
||||
showFiles: false,
|
||||
matching: 'none',
|
||||
matchWordsThreshold: 0.25,
|
||||
matchingMaxComparisons: 2500,
|
||||
maxLineSizeInBlockForComparison: 200,
|
||||
maxLineLengthHighlight: 10000,
|
||||
templates: {},
|
||||
rawTemplates: {},
|
||||
renderNothingWhenEmpty: false
|
||||
};
|
||||
|
||||
|
|
@ -3999,6 +4002,10 @@ process.umask = function() { return 0; };
|
|||
lineWithoutPrefix = lineWithPrefix.line;
|
||||
}
|
||||
|
||||
if (prefix === ' ') {
|
||||
prefix = ' ';
|
||||
}
|
||||
|
||||
return hoganUtils.render(genericTemplatesPath, 'line',
|
||||
{
|
||||
type: type,
|
||||
|
|
@ -4662,6 +4669,10 @@ process.umask = function() { return 0; };
|
|||
lineWithoutPrefix = lineWithPrefix.line;
|
||||
}
|
||||
|
||||
if (prefix === ' ') {
|
||||
prefix = ' ';
|
||||
}
|
||||
|
||||
return hoganUtils.render(genericTemplatesPath, 'line',
|
||||
{
|
||||
type: type,
|
||||
|
|
|
|||
2
dist/diff2html.min.js
vendored
2
dist/diff2html.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "diff2html",
|
||||
"version": "2.10.0",
|
||||
"version": "2.10.1",
|
||||
"homepage": "https://diff2html.xyz",
|
||||
"description": "Fast Diff to colorized HTML",
|
||||
"keywords": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue