summaryrefslogtreecommitdiff
path: root/app/GedcomTag.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/GedcomTag.php')
-rw-r--r--app/GedcomTag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/GedcomTag.php b/app/GedcomTag.php
index 1bcf9a6f1c..d8cf9110ed 100644
--- a/app/GedcomTag.php
+++ b/app/GedcomTag.php
@@ -1383,7 +1383,7 @@ class GedcomTag {
}
// Still no translation? Highlight this as an error
- return '<span class="error" title="' . I18N::translate('Unrecognized GEDCOM code') . '">' . Filter::escapeHtml($tag) . '</span>';
+ return '<span class="error" title="' . I18N::translate('Unrecognized GEDCOM code') . '">' . Html::escape($tag) . '</span>';
}
}