summaryrefslogtreecommitdiff
path: root/library/WT/Controller/Page.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Controller/Page.php')
-rw-r--r--library/WT/Controller/Page.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/WT/Controller/Page.php b/library/WT/Controller/Page.php
index ec28cd3dad..3c654b1605 100644
--- a/library/WT/Controller/Page.php
+++ b/library/WT/Controller/Page.php
@@ -2,7 +2,7 @@
// Controller for full-page, themed HTML responses
//
// webtrees: Web based Family History software
-// Copyright (C) 2013 webtrees development team.
+// Copyright (C) 2014 webtrees development team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -137,7 +137,7 @@ class WT_Controller_Page extends WT_Controller_Base {
$META_ROBOTS = $this->meta_robots;
$META_DESCRIPTION = WT_GED_ID ? get_gedcom_setting(WT_GED_ID, 'META_DESCRIPTION') : '';
if (!$META_DESCRIPTION) {
- $META_DESCRIPTION = WT_TREE_TITLE;
+ $META_DESCRIPTION = strip_tags(WT_TREE_TITLE);
}
$META_GENERATOR = WT_WEBTREES . ' ' . WT_VERSION . ' - ' . WT_WEBTREES_URL;
$META_TITLE = WT_GED_ID ? get_gedcom_setting(WT_GED_ID, 'META_TITLE') : '';