diff --git a/controllers/admin/AdminSearchConfController.php b/controllers/admin/AdminSearchConfController.php
index 00d2daab7..5809d2d56 100644
--- a/controllers/admin/AdminSearchConfController.php
+++ b/controllers/admin/AdminSearchConfController.php
@@ -335,11 +335,11 @@ class AdminSearchConfControllerCore extends AdminController
$this->errors[] = $this->l('Aliases and results are both required.');
}
if (!Validate::isValidSearch($search)) {
- $this->errors[] = $search.' '.$this->l('Is not a valid result');
+ $this->errors[] = Tools::safeOutput($search).' '.$this->l('Is not a valid result');
}
foreach ($aliases as $alias) {
if (!Validate::isValidSearch($alias)) {
- $this->errors[] = $alias.' '.$this->l('Is not a valid alias');
+ $this->errors[] = Tools::safeOutput($alias).' '.$this->l('Is not a valid alias');
}
}
diff --git a/modules/blocknavigationmenu/views/templates/admin/custom_navigation_link_setting/helpers/form/form.tpl b/modules/blocknavigationmenu/views/templates/admin/custom_navigation_link_setting/helpers/form/form.tpl
index 264969825..f27638a3e 100644
--- a/modules/blocknavigationmenu/views/templates/admin/custom_navigation_link_setting/helpers/form/form.tpl
+++ b/modules/blocknavigationmenu/views/templates/admin/custom_navigation_link_setting/helpers/form/form.tpl
@@ -127,7 +127,7 @@
{foreach from=$languages item=language}
{assign var="navigation_link_name" value="navigation_link_name_`$language.id_lang`"}
-
+
{/foreach}
{if $languages|@count > 1}
@@ -176,7 +176,7 @@
-
+
diff --git a/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl b/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl
index 4e4123d84..6b0cdc270 100644
--- a/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl
+++ b/modules/hotelreservationsystem/views/templates/admin/add_hotel/helpers/form/form.tpl
@@ -183,7 +183,7 @@
id="short_description_{$language.id_lang}"
{if isset($PS_SHORT_DESC_LIMIT) && $PS_SHORT_DESC_LIMIT} maxlength="{$PS_SHORT_DESC_LIMIT|intval}"{/if}
cols="2" rows="3"
- class="form-control">{if isset($smarty.post.$short_desc_name)}{$smarty.post.$short_desc_name}{elseif isset($edit)}{$hotel_info.short_description[{$language.id_lang}]}{/if}
+ class="form-control">{if isset($smarty.post.$short_desc_name)}{$smarty.post.$short_desc_name|escape:'htmlall':'UTF-8'}{elseif isset($edit)}{$hotel_info.short_description[{$language.id_lang}]|escape:'htmlall':'UTF-8'}{/if}
{/foreach}
@@ -201,7 +201,7 @@
name="description_{$language.id_lang}"
id="description_{$language.id_lang}"
cols="2" rows="3"
- class="wk_tinymce form-control">{if isset($smarty.post.$description)}{$smarty.post.$description}{elseif isset($edit)}{$hotel_info.description[{$language.id_lang}]}{/if}
+ class="wk_tinymce form-control">{if isset($smarty.post.$description)}{$smarty.post.$description|escape:'htmlall':'UTF-8'}{elseif isset($edit)}{$hotel_info.description[{$language.id_lang}]|escape:'htmlall':'UTF-8'}{/if}
{/foreach}
@@ -209,7 +209,7 @@
@@ -219,7 +219,7 @@
-
+
@@ -232,13 +232,13 @@
@@ -519,7 +519,7 @@
diff --git a/modules/hotelreservationsystem/views/templates/admin/order_refund_rules/helpers/form/form.tpl b/modules/hotelreservationsystem/views/templates/admin/order_refund_rules/helpers/form/form.tpl
index b5764b51c..a687eb6c0 100644
--- a/modules/hotelreservationsystem/views/templates/admin/order_refund_rules/helpers/form/form.tpl
+++ b/modules/hotelreservationsystem/views/templates/admin/order_refund_rules/helpers/form/form.tpl
@@ -65,7 +65,7 @@
name="description_{$language.id_lang|escape:'htmlall':'UTF-8'}"
id="description_{$language.id_lang|escape:'htmlall':'UTF-8'}"
cols="2" rows="3"
- class="form-control">{if isset($smarty.post.$description)}{$smarty.post.$description}{elseif isset($edit)}{$refund_rules_info.description[$language.id_lang]|escape:'htmlall':'UTF-8'}{/if}
+ class="form-control">{if isset($smarty.post.$description)}{$smarty.post.$description|escape:'htmlall':'UTF-8'}{elseif isset($edit)}{$refund_rules_info.description[$language.id_lang]|escape:'htmlall':'UTF-8'}{/if}
{/foreach}