From 63f80733d90a87f44219a110148bfb9a0e207164 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Mon, 17 Jul 2017 11:26:02 +0300
Subject: www: fix tags escaping
---
juick-www/src/main/webapp/WEB-INF/views/macros/tags.html | 2 +-
juick-www/src/main/webapp/WEB-INF/views/partial/tags.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'juick-www/src/main/webapp')
diff --git a/juick-www/src/main/webapp/WEB-INF/views/macros/tags.html b/juick-www/src/main/webapp/WEB-INF/views/macros/tags.html
index 167f9168..09278ffe 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/macros/tags.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/macros/tags.html
@@ -1,5 +1,5 @@
{% macro tags(uname="", tagsList) %}
{% for tag in tagsList %}
-{{ tag }}
+{{ tag | raw }}
{% endfor %}
{% endmacro %}
\ No newline at end of file
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html b/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html
index 4d05b7fb..3235213e 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html
@@ -1,3 +1,3 @@
{% for tag in tags %}
- {{ tag }}
+ {{ tag | raw }}
{% endfor %}
\ No newline at end of file
--
cgit v1.2.3