diff --git a/code/Diff.php b/code/Diff.php
index 9808d93e..a56acdac 100755
--- a/code/Diff.php
+++ b/code/Diff.php
@@ -707,9 +707,6 @@ class Diff
// Go through everything, converting edited tags (and their content) into single chunks. Otherwise
// the generated HTML gets crusty
foreach($diff->edits as $edit) {
- //echo "
$edit->type: " . htmlentities(implode(" " ,$edit->orig));
- //if($edit->final) echo ' / ' . htmlentities(implode(" " ,$edit->final));
-
switch($edit->type) {
case 'copy':
$lookForTag = false;
@@ -749,8 +746,6 @@ class Diff
if(substr($item,0,2) == "") $tagStack[$listName]--;
else if(isset($item[0]) && $item[0] == "<") $tagStack[$listName]++;
}
-
- // echo "" . htmlentities($item) . " -> " .$tagStack[$listName];
}
}
}
@@ -760,9 +755,6 @@ class Diff
$diff = new Diff($rechunked[1], $rechunked[2]);
$content = '';
foreach($diff->edits as $edit) {
- // echo "$edit->type: " . htmlentities(implode(" " ,$edit->orig));
- // if($edit->final) echo ' / ' . htmlentities(implode(" " ,$edit->final));
-
switch($edit->type) {
case 'copy':
$content .= " " . implode(" ", $edit->orig) . " ";
@@ -782,7 +774,7 @@ class Diff
break;
}
}
- // echo "" . htmlentities($content) . "
";
+
return self::cleanHTML($content);
}