summaryrefslogtreecommitdiff
path: root/modules_v3
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-09-22 08:54:11 +0100
committerGreg Roach <fisharebest@gmail.com>2013-09-22 08:54:11 +0100
commit725424297eea55b3338bd5fee69c1707a7b2cf24 (patch)
treea02b1fad52ac65089f73b1353d9bf23ece700b4c /modules_v3
parentdae3979529851db8422faf4979dacb72874cce68 (diff)
downloadwebtrees-725424297eea55b3338bd5fee69c1707a7b2cf24.tar.gz
webtrees-725424297eea55b3338bd5fee69c1707a7b2cf24.tar.bz2
webtrees-725424297eea55b3338bd5fee69c1707a7b2cf24.zip
#1228641 - Google maps html entity being displayed
Diffstat (limited to 'modules_v3')
-rw-r--r--modules_v3/googlemap/googlemap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/googlemap/googlemap.php b/modules_v3/googlemap/googlemap.php
index 4374c8a901..4e716032da 100644
--- a/modules_v3/googlemap/googlemap.php
+++ b/modules_v3/googlemap/googlemap.php
@@ -150,7 +150,7 @@ function build_indiv_map(WT_Individual $indi, $indifacts, $famids) {
'date' => $fact->getDate()->Display(true),
'fact_label' => $fact->getLabel(),
'image' => $spouse ? $spouse->displayImage() : $fact->Icon(),
- 'info' => WT_Filter::escapeHtml($fact->getValue()),
+ 'info' => $fact->getValue(),
'lat' => str_replace(array('N', 'S', ','), array('', '-', '.') , $match1[1]),
'lng' => str_replace(array('E', 'W', ','), array('', '-', '.') , $match2[1]),
'name' => $spouse ? '<a href="' . $spouse->getHtmlUrl() . '"' . $spouse->getFullName() . '</a>' : '',
@@ -172,7 +172,7 @@ function build_indiv_map(WT_Individual $indi, $indifacts, $famids) {
'date' => $fact->getDate()->Display(true),
'fact_label' => $fact->getLabel(),
'image' => $spouse ? $spouse->displayImage() : $fact->Icon(),
- 'info' => WT_Filter::escapeHtml($fact->getValue()),
+ 'info' => $fact->getValue(),
'lat' => str_replace(array('N', 'S', ','), array('', '-', '.'), $latlongval->pl_lati),
'lng' => str_replace(array('E', 'W', ','), array('', '-', '.'), $latlongval->pl_long),
'name' => $spouse ? '<a href="' . $spouse->getHtmlUrl() . '"' . $spouse->getFullName() . '</a>' : '',