diff --git a/app/Models/ContentHistory.php b/app/Models/ContentHistory.php index 5dd46610..14dbd1a9 100644 --- a/app/Models/ContentHistory.php +++ b/app/Models/ContentHistory.php @@ -95,6 +95,6 @@ class ContentHistory extends Model public function getDiff($change) { - return Differ::htmlDiff($change->old_value, $change->new_value); + return Differ::htmlDiff(e($change->old_value), e($change->new_value)); } } \ No newline at end of file