diff --git a/www/index.php b/www/index.php index 73ff5f0b3ea8ab6b42af18d55f5a3896a44ee444..a7291fed7c5bbe8ce1cc89fa01828ffb180f1d3e 100644 --- a/www/index.php +++ b/www/index.php @@ -52,7 +52,7 @@ if (isset($_GET['u']) //u is referring site $page->head .= '<link rel="home" href="'.htmlentities($_GET['u'], ENT_QUOTES).'" />'; $page->breadcrumbs = $purifier->purify(UNL_Search::removeRelativePaths($scanned->breadcrumbs, $_GET['u'])); - $page->titlegraphic = $purifier->purify($scanned->titlegraphic); + $page->titlegraphic = $purifier->purify(str_replace(array('<h1>', '</h1>'), '',$scanned->titlegraphic)); $page->navlinks = $purifier->purify(UNL_Search::removeRelativePaths($scanned->navlinks, $_GET['u'])); if (!empty($scanned->leftcollinks)) { $page->leftcollinks = $purifier->purify($scanned->leftcollinks);