Wrap caption in a w3-container #111

This commit is contained in:
KnugiHK
2024-09-16 21:37:18 +08:00
parent fed14ceb29
commit d72b41da11
+4 -2
View File
@@ -167,8 +167,9 @@
{% filter escape %}{{ msg.data }}{% endfilter %} {% filter escape %}{{ msg.data }}{% endfilter %}
{% endif %} {% endif %}
{% if msg.caption is not none %} {% if msg.caption is not none %}
<br> <div class="w3-container">
{{ msg.caption | urlize(none, true, '_blank') }} {{ msg.caption | urlize(none, true, '_blank') }}
</div>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %} {% endif %}
@@ -256,8 +257,9 @@
{% filter escape %}{{ msg.data }}{% endfilter %} {% filter escape %}{{ msg.data }}{% endfilter %}
{% endif %} {% endif %}
{% if msg.caption is not none %} {% if msg.caption is not none %}
<br> <div class="w3-container">
{{ msg.caption | urlize(none, true, '_blank') }} {{ msg.caption | urlize(none, true, '_blank') }}
</div>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %} {% endif %}