Skip to content
Snippets Groups Projects
Commit d97f2328 authored by Tim Steiner's avatar Tim Steiner
Browse files

Output of BulletinEntryDiff is now sanitized by Tidy

parent 2f427aed
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,11 @@ class Application_View_Helper_BulletinEntryDiff
</div>
<?php
return ob_get_clean();
$tidyConfig = array('show-body-only' => true);
$html = ob_get_clean();
$html = tidy_repair_string($html, $tidyConfig, 'utf8');
return $html;
}
protected function _getDiffText($current, $proposed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment