From f27bf237c827b134d06c05a027f73c647adc51d6 Mon Sep 17 00:00:00 2001 From: Robin Keith Date: Mon, 16 Mar 2015 09:33:07 +0000 Subject: [PATCH] Update trunk8.js line 128 - The logic on adding 'fill' to the end of the truncated HTML (parseHTML=true) was round the wrong way. --- trunk8.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk8.js b/trunk8.js index 1e58fbc..d975010 100644 --- a/trunk8.js +++ b/trunk8.js @@ -125,7 +125,7 @@ htmlResults = biteHelper(htmlObject); // Add fill if doesn't exist. This will place it outside the HTML elements. - if (htmlResults.slice(htmlResults.length - fill.length) === fill) { + if (htmlResults.slice(htmlResults.length - fill.length) !== fill) { htmlResults += fill; }