diff options
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 |
commit | 54879496813b109232a6f968b0e370d717894d33 (patch) | |
tree | 0e5bebb00bf47ffa1e9c4704e7ea41c845b6356d | |
parent | ba2c117725d8128a69184585ae290fb421939003 (diff) | |
download | Ishtar-54879496813b109232a6f968b0e370d717894d33.tar.bz2 Ishtar-54879496813b109232a6f968b0e370d717894d33.zip |
Sheet: fix url display with '
-rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_url.html | 2 | ||||
-rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_url.html | 2 |
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%} |