summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-01-26 23:08:40 +0000
committerGreg Roach <fisharebest@gmail.com>2014-01-26 23:08:40 +0000
commitafbd910722cc479ccf653e37d2bc035460beb146 (patch)
tree22ff1a225eaf70bc8bf10a3006775e5f019587a2 /library
parent1022d08660f61139d0b3a1a4f3fc4c539bfb1a2f (diff)
downloadwebtrees-afbd910722cc479ccf653e37d2bc035460beb146.tar.gz
webtrees-afbd910722cc479ccf653e37d2bc035460beb146.tar.bz2
webtrees-afbd910722cc479ccf653e37d2bc035460beb146.zip
meta-description header double-escaped
Diffstat (limited to 'library')
-rw-r--r--library/WT/Controller/Page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Controller/Page.php b/library/WT/Controller/Page.php
index 3bfee79c14..3c654b1605 100644
--- a/library/WT/Controller/Page.php
+++ b/library/WT/Controller/Page.php
@@ -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') : '';