From f7df522d7963666d72350084175abf2f068808da Mon Sep 17 00:00:00 2001 From: fisharebest Date: Mon, 24 Oct 2011 13:08:37 +0000 Subject: #815509 - URL in Source PULB are Not Links --- includes/functions/functions_print_facts.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index 8a5ecd1cf3..fe0e597c23 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -219,7 +219,7 @@ function print_fact(WT_Event $fact, WT_GedcomRecord $record) { case 'PHON': // Not valid as a level 1 tag... case 'FAX': // Not valid as a level 1 tag... // These tags always(?) contain LTR data. Make sure they render correctly on RTL pages. - echo '
', htmlspecialchars($fact->getDetail()), '
'; + echo '
', htmlspecialchars($fact->getDetail()), '
'; break; case 'EMAIL': case 'EMAI': @@ -254,6 +254,9 @@ function print_fact(WT_Event $fact, WT_GedcomRecord $record) { } echo ''; break; + case 'PUBL': // Publication details might contain URLs. + echo '
', expand_urls(htmlspecialchars($fact->getDetail())), '
'; + break; case 'REPO': if (preg_match('/^@('.WT_REGEX_XREF.')@$/', $fact->getDetail(), $match)) { print_repository_record($match[1]); -- cgit v1.3