diff --git a/Havana-Web/src/main/java/org/alexdev/http/controllers/site/TagController.java b/Havana-Web/src/main/java/org/alexdev/http/controllers/site/TagController.java
index bbae129..5f6b36c 100644
--- a/Havana-Web/src/main/java/org/alexdev/http/controllers/site/TagController.java
+++ b/Havana-Web/src/main/java/org/alexdev/http/controllers/site/TagController.java
@@ -115,7 +115,7 @@ private static void respondWithSearch(WebConnection webConnection, String tag, i
boolean isValidTag = temporaryTag != null;
if (isValidTag) {
- tpl.set("tagSearchAdd", "
Tag yourself with: " + tag + "
\n");
+ tpl.set("tagSearchAdd", tag);
}
}
diff --git a/tools/www-tpl/default-en/base/tag_search.tpl b/tools/www-tpl/default-en/base/tag_search.tpl
index 22a67b1..f82741d 100644
--- a/tools/www-tpl/default-en/base/tag_search.tpl
+++ b/tools/www-tpl/default-en/base/tag_search.tpl
@@ -8,12 +8,20 @@
{% else %}
{{ pageId }} - {{ totalTagUsers|length }} / {{ totalCount }}
{% endif %}
- {{ tagSearchAdd }}
+ {% autoescape 'html' %}
+ {% if tagSearchAdd != "" %}
+
+ Tag yourself with:
+
+ {{ tagSearchAdd }}
+
+
+
+ {% endif %}
- {% autoescape 'html' %}
{% set num = 0 %}
{% if tagList.size() > 0 %}
{% for habboTag in tagList %}
@@ -61,9 +69,9 @@
{% endfor %}
{% endif %}
- {% endautoescape %}
+ {% endautoescape %}
{% if showFirst %}
<<
diff --git a/tools/www-tpl/default-en/community.tpl b/tools/www-tpl/default-en/community.tpl
index 4ad332a..8861ec7 100644
--- a/tools/www-tpl/default-en/community.tpl
+++ b/tools/www-tpl/default-en/community.tpl
@@ -322,7 +322,9 @@ var discussionMoreDataHelper = new MoreDataHelper("discussions-toggle-more-data-
{% endif %}
{{ site.siteName }} created on: {{ habbo.getCreatedAt() }}
+ {% autoescape 'html' %}
{{ habbo.getMotto() }}
+ {% endautoescape %}
diff --git a/tools/www-tpl/default-en/groups/discussions/opentopicsettings.tpl b/tools/www-tpl/default-en/groups/discussions/opentopicsettings.tpl
index c5989d2..81a6421 100644
--- a/tools/www-tpl/default-en/groups/discussions/opentopicsettings.tpl
+++ b/tools/www-tpl/default-en/groups/discussions/opentopicsettings.tpl
@@ -4,7 +4,9 @@
Topic: (max 32 characters)
+ {% autoescape 'html' %}
+ {% endautoescape %}
diff --git a/tools/www-tpl/default-en/groups/habblet/group_settings.tpl b/tools/www-tpl/default-en/groups/habblet/group_settings.tpl
index 038af3b..9ada135 100644
--- a/tools/www-tpl/default-en/groups/habblet/group_settings.tpl
+++ b/tools/www-tpl/default-en/groups/habblet/group_settings.tpl
@@ -9,7 +9,9 @@
Edit group name:
+ {% autoescape 'html' %}
+ {% endautoescape %}
diff --git a/tools/www-tpl/default-en/homes/editor/search.tpl b/tools/www-tpl/default-en/homes/editor/search.tpl
index 27c31db..f41215e 100644
--- a/tools/www-tpl/default-en/homes/editor/search.tpl
+++ b/tools/www-tpl/default-en/homes/editor/search.tpl
@@ -1,6 +1,7 @@
Click on link below to insert it into the document
+ {% autoescape 'html' %}
{% for kvp in querySearch %}
{% set key = kvp.getKey() %}
{% set value = kvp.getValue() %}
@@ -9,6 +10,7 @@
value="{{ value }}" title="{{ key }}">{{ key }}
{% endfor %}
+ {% endautoescape %}
\ No newline at end of file
diff --git a/tools/www-tpl/default-en/homes/widget/groups_widget.tpl b/tools/www-tpl/default-en/homes/widget/groups_widget.tpl
index d799ae6..bc0bad6 100644
--- a/tools/www-tpl/default-en/homes/widget/groups_widget.tpl
+++ b/tools/www-tpl/default-en/homes/widget/groups_widget.tpl
@@ -23,12 +23,12 @@ You are not a member of any Groups
{% endif %}
- {% endautoescape %}
{% endfor %}
+{% endautoescape %}
{% endif %}
diff --git a/tools/www-tpl/default-en/housekeeping/dashboard.tpl b/tools/www-tpl/default-en/housekeeping/dashboard.tpl
index a61d9a5..44a63eb 100644
--- a/tools/www-tpl/default-en/housekeeping/dashboard.tpl
+++ b/tools/www-tpl/default-en/housekeeping/dashboard.tpl
@@ -91,7 +91,9 @@
{{ player.name }} - Transactons
{{ player.email }}
+ {% autoescape 'html' %}
{{ player.motto }}
+ {% endautoescape %}
{{ player.credits }}
{{ player.pixels }}
{{ player.formatLastOnline("dd-MM-yyyy HH:mm:ss") }}
diff --git a/tools/www-tpl/default-en/housekeeping/users_edit.tpl b/tools/www-tpl/default-en/housekeeping/users_edit.tpl
index d24df50..7d0dbd7 100644
--- a/tools/www-tpl/default-en/housekeeping/users_edit.tpl
+++ b/tools/www-tpl/default-en/housekeeping/users_edit.tpl
@@ -4,6 +4,7 @@
Edit User
{% include "housekeeping/base/alert.tpl" %}
Here you can edit user details.
+ {% autoescape 'html' %}
+ {% endautoescape %}