summaryrefslogtreecommitdiff
path: root/app/Functions/FunctionsPrint.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Functions/FunctionsPrint.php')
-rw-r--r--app/Functions/FunctionsPrint.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Functions/FunctionsPrint.php b/app/Functions/FunctionsPrint.php
index edde1f7b2c..c66324a55e 100644
--- a/app/Functions/FunctionsPrint.php
+++ b/app/Functions/FunctionsPrint.php
@@ -26,6 +26,7 @@ use Fisharebest\Webtrees\GedcomCode\GedcomCodeStat;
use Fisharebest\Webtrees\GedcomCode\GedcomCodeTemp;
use Fisharebest\Webtrees\GedcomRecord;
use Fisharebest\Webtrees\GedcomTag;
+use Fisharebest\Webtrees\Html;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module;
@@ -517,7 +518,7 @@ class FunctionsPrint {
echo '<td class="optionbox wrap"><form name="newFromClipboard" onsubmit="return false;">';
echo '<select id="newClipboardFact">';
}
- echo '<option value="', Filter::escapeHtml($fact_id), '">', GedcomTag::getLabel($fact['fact']);
+ echo '<option value="', Html::escape($fact_id), '">', GedcomTag::getLabel($fact['fact']);
// TODO use the event class to store/parse the clipboard events
if (preg_match('/^2 DATE (.+)/m', $fact['factrec'], $match)) {
$tmp = new Date($match[1]);