aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-07-17 11:26:02 +0300
committerGravatar Vitaly Takmazov2017-07-17 11:26:02 +0300
commit63f80733d90a87f44219a110148bfb9a0e207164 (patch)
tree8aa22b697551571bd5686cc1eec1c0330580c21b /juick-www/src/main/webapp/WEB-INF/views
parent6b9250d19d1659e422855ab63fe7e2f5f46cb897 (diff)
www: fix tags escaping
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/macros/tags.html2
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/tags.html2
2 files changed, 2 insertions, 2 deletions
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 %}
-<a href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag }}</a>
+<a href="/{{ uname }}/?tag={{ tag | urlencode }}">{{ tag | raw }}</a>
{% 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 %}
- <a href="/tag/{{ tag | urlencode }}" title="{{ tag }}">{{ tag }}</a>
+ <a href="/tag/{{ tag | urlencode }}" title="{{ tag }}">{{ tag | raw }}</a>
{% endfor %} \ No newline at end of file