From 74c19e5468a0be17e74e9eed561f89ee31121914 Mon Sep 17 00:00:00 2001 From: secretr Date: Tue, 28 Feb 2012 14:28:45 +0000 Subject: [PATCH] Controller base - clean up meta title --- e107_handlers/application.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/e107_handlers/application.php b/e107_handlers/application.php index ea5b2f890..ebf444c5c 100644 --- a/e107_handlers/application.php +++ b/e107_handlers/application.php @@ -2,21 +2,28 @@ /* * e107 website system * - * Copyright (C) 2008-2011 e107 Inc (e107.org) + * Copyright (C) 2008-2012 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * e107 Single Entry Point - * * $URL$ * $Id$ */ + /** + * @package e107 + * @subpackage e107_handlers + * @version $Id$ + * @author SecretR + * + * e107 Single Entry Point handling + * * Currently this file contains all classes required for single entry point functionallity * They will be separated in different files in a proper way (soon) */ + /** * e107 Front controller */ @@ -2711,7 +2718,7 @@ class eController public function addTitle($title, $meta = true) { $this->getResponse()->appendTitle($title); - if($meta) $this->addMetaTitle($title); + if($meta) $this->addMetaTitle(strip_tags($title)); return $this; }