mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 05:11:03 +00:00
[enh] using less html code to disable autoescaping for embeded results
This commit is contained in:
parent
811515101b
commit
9109686c4e
2 changed files with 2 additions and 6 deletions
|
@ -11,9 +11,7 @@
|
||||||
|
|
||||||
{% if result.embedded %}
|
{% if result.embedded %}
|
||||||
<div id="result-media-{{ index }}" class="collapse">
|
<div id="result-media-{{ index }}" class="collapse">
|
||||||
{% autoescape false %}
|
{{ result.embedded|safe }}
|
||||||
{{ result.embedded }}
|
|
||||||
{% endautoescape %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,7 @@
|
||||||
|
|
||||||
{% if result.embedded %}
|
{% if result.embedded %}
|
||||||
<div id="result-video-{{ index }}" class="collapse">
|
<div id="result-video-{{ index }}" class="collapse">
|
||||||
{% autoescape false %}
|
{{ result.embedded|safe }}
|
||||||
{{ result.embedded }}
|
|
||||||
{% endautoescape %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue