prettydiff
Advanced tools
Comparing version 0.0.46 to 0.0.47
@@ -173,3 +173,2 @@ /*** | ||
bxj = [], | ||
opcodes = [], | ||
answer = [], | ||
@@ -662,3 +661,9 @@ get_matching_blocks = function () { | ||
for (o = j; o < zx; o += 1) { | ||
if (ax[j - 1] === "<em>" + bx[o] && em.test(bx[j - 1]) && (j - 2 < 0 || ax[j - 2] !== bx[o + 1])) { | ||
if (ax[o] === bx[o] && typeof ax[o] === "string") { | ||
ax[o - 1] = ax[o - 1] + "</em>"; | ||
bx[o - 1] = bx[o - 1] + "</em>"; | ||
k = o; | ||
n = false; | ||
break; | ||
} else if (ax[j - 1] === "<em>" + bx[o] && em.test(bx[j - 1]) && (j - 2 < 0 || ax[j - 2] !== bx[o + 1])) { | ||
ax[j - 1] = ax[j - 1].replace(em, ""); | ||
@@ -665,0 +670,0 @@ ax.splice(j - 1, 0, "<em></em>"); |
{ | ||
"name": "prettydiff", | ||
"author": "Austin Cheney <austin.cheney@us.army.mil> (http://prettydiff.com/)", | ||
"version": "0.0.46", | ||
"version": "0.0.47", | ||
"description": "File comparison tool to accurately diff between file versions regardless of comments or minification to the whitespace. It can also beautify (pretty print) and minify HTML.", | ||
@@ -6,0 +6,0 @@ "keywords": ["diff", "pretty diff", "pretty print", "pretty-print", "beautify", "minify", "xml", "html", "css", "javascript"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1387372
17017