From d72b41da1182b277ed5759413b04b513a0845dba Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Mon, 16 Sep 2024 21:37:18 +0800 Subject: [PATCH] Wrap caption in a w3-container #111 --- Whatsapp_Chat_Exporter/whatsapp.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Whatsapp_Chat_Exporter/whatsapp.html b/Whatsapp_Chat_Exporter/whatsapp.html index 6f29232..20caf30 100644 --- a/Whatsapp_Chat_Exporter/whatsapp.html +++ b/Whatsapp_Chat_Exporter/whatsapp.html @@ -140,7 +140,7 @@ {% if msg.caption is not none %}
- {{ msg.caption | urlize(none, true, '_blank') }} + {{ msg.caption | urlize(none, true, '_blank') }}
{% endif %} {% else %} @@ -167,11 +167,12 @@ {% filter escape %}{{ msg.data }}{% endfilter %} {% endif %} {% if msg.caption is not none %} -
- {{ msg.caption | urlize(none, true, '_blank') }} +
+ {{ msg.caption | urlize(none, true, '_blank') }} +
{% endif %} {% endif %} - {% endif %} + {% endif %} {% if not no_avatar and my_avatar is not none %} @@ -256,8 +257,9 @@ {% filter escape %}{{ msg.data }}{% endfilter %} {% endif %} {% if msg.caption is not none %} -
- {{ msg.caption | urlize(none, true, '_blank') }} +
+ {{ msg.caption | urlize(none, true, '_blank') }} +
{% endif %} {% endif %} {% endif %}