From 0eec55b9d24931a36fadd1a274b79c628bfddea8 Mon Sep 17 00:00:00 2001 From: Brett Bieber <brett.bieber@gmail.com> Date: Tue, 27 Mar 2012 16:22:39 +0000 Subject: [PATCH] Trim out h1 element from the sites still in the old template --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index 73ff5f0..a7291fe 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); -- GitLab