summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-08 16:46:02 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commit62e2764c82f4d6f69fe87caf8002e611ad0edcc5 (patch)
tree0e5bebb00bf47ffa1e9c4704e7ea41c845b6356d
parente333e42f6fe024933e299d6833718ec6c419c922 (diff)
downloadIshtar-62e2764c82f4d6f69fe87caf8002e611ad0edcc5.tar.bz2
Ishtar-62e2764c82f4d6f69fe87caf8002e611ad0edcc5.zip
Sheet: fix url display with '
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_flex_url.html2
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_url.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html
index 4f23ff74b..9b3799baf 100644
--- a/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html
+++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_url.html
@@ -2,7 +2,7 @@
<dl class="col-12 col-md-6 col-lg-3 flex-wrap">
<dt>{% trans caption %}</dt>
<dd>
- <a target="_blank" href='{{link|safe}}'>{% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}</a>
+ <a target="_blank" href="{{link|safe}}">{% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}</a>
</dd>
</dl>
{% endif%}
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_url.html b/ishtar_common/templates/ishtar/blocks/window_field_url.html
index cd6365106..f83aae5ad 100644
--- a/ishtar_common/templates/ishtar/blocks/window_field_url.html
+++ b/ishtar_common/templates/ishtar/blocks/window_field_url.html
@@ -1,3 +1,3 @@
{% load i18n %}{% if link %}{% if li %}<li>{% else %}<p>{% endif %}<p><label>{% trans caption %}</label>
-<span class='value'><a target="_blank" href='{{link|safe}}'>{% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}</a></span>{% if li %}</li>{% else %}</p>{% endif %}
+<span class='value'><a target="_blank" href="{{link|safe}}">{% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}</a></span>{% if li %}</li>{% else %}</p>{% endif %}
{% endif%}