Commit 1d22821f authored by Taddeus Kroes's avatar Taddeus Kroes

Added line break to allowed tags in details page

parent 42d962d0
......@@ -47,7 +47,7 @@ $page = file_get_contents($url);
// Parse detailed description, preserving a selected set of HTML tags
preg_match('/<div\s+id="prog-content">\s*(.*?)\s*<div\s+class="prog-functionbar">/s', $page, $m1);
assert($m1);
$description = strip_tags($m1[1], '<p><strong><em><b><i><font><a><span><img>');
$description = strip_tags($m1[1], '<p><strong><em><b><i><font><a><span><img><br>');
$description = str_replace('showVideoPlaybutton()', '', $description);
$description = clean_html($description);
//$description = preg_replace('/\s+/', ' ', $description);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment