FEATURE: show diff as escaped HTML

This commit is contained in:
Michal Kváček
2016-07-22 01:01:38 +02:00
parent 15a29de894
commit ebc7330717
+1 -1
View File
@@ -95,6 +95,6 @@ class ContentHistory extends Model
public function getDiff($change) public function getDiff($change)
{ {
return Differ::htmlDiff($change->old_value, $change->new_value); return Differ::htmlDiff(e($change->old_value), e($change->new_value));
} }
} }