XHTML formatting <hr> (fixes #8297)

This commit is contained in:
Ingo Schommer 2013-03-08 10:42:32 +01:00
parent fade5cce51
commit 2419d1aa46

View File

@ -144,6 +144,7 @@ class ContentNegotiator {
$content = str_replace('&nbsp;','&#160;', $content);
$content = str_replace('<br>','<br />', $content);
$content = str_replace('<hr>','<hr />', $content);
$content = preg_replace('#(<img[^>]*[^/>])>#i', '\\1/>', $content);
$response->setBody($content);