summaryrefslogtreecommitdiff
path: root/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php')
-rw-r--r--app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php b/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
index 4c0bab1c38..deb22d0804 100644
--- a/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
+++ b/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
@@ -17,6 +17,7 @@ namespace Fisharebest\Webtrees\Module\BatchUpdate;
use Fisharebest\Webtrees\Bootstrap4;
use Fisharebest\Webtrees\Filter;
+use Fisharebest\Webtrees\Html;
use Fisharebest\Webtrees\I18N;
/**
@@ -146,13 +147,13 @@ class BatchUpdateSearchReplacePlugin extends BatchUpdateBasePlugin {
'<div class="row form-group">' .
'<label class="col-sm-3 col-form-label">' . I18N::translate('Search text/pattern') . '</label>' .
'<div class="col-sm-9">' .
- '<input class="form-control" name="search" size="40" value="' . Filter::escapeHtml($this->search) .
+ '<input class="form-control" name="search" size="40" value="' . Html::escape($this->search) .
'" onchange="this.form.submit();">' .
'</div></div>' .
'<div class="row form-group">' .
'<label class="col-sm-3 col-form-label">' . I18N::translate('Replacement text') . '</label>' .
'<div class="col-sm-9">' .
- '<input class="form-control" name="replace" size="40" value="' . Filter::escapeHtml($this->replace) .
+ '<input class="form-control" name="replace" size="40" value="' . Html::escape($this->replace) .
'" onchange="this.form.submit();"></td></tr>' .
'</div></div>' .
'<div class="row form-group">' .