fix missing urlencode filters

This commit is contained in:
Jérôme Charaoui 2023-09-12 14:50:10 -04:00
parent beaec217d1
commit c2c5300e0d
No known key found for this signature in database
GPG Key ID: 69C52F658E988542

View File

@ -25,19 +25,19 @@
<div class="row mb-2" id="share-story-links">
<div class="col-auto pt-0 pb-2 mr-3"><a class="text-white copy-link" href="#"><i class="fas fa-link"></i>Copy link</a></div>
<div class="col-auto pt-0 pb-2 mr-3">
<a class="text-white" target="blank" rel="noreferrer" href="https://twitter.com/intent/tweet?url={{ share_url }}&text={{ share_text|urlencode }}"><i class="fab fa-twitter"></i>Twitter</a>
<a class="text-white" target="blank" rel="noreferrer" href="https://twitter.com/intent/tweet?url={{ share_url|urlencode }}&text={{ share_text|urlencode }}"><i class="fab fa-twitter"></i>Twitter</a>
</div>
<div class="col-auto pt-0 pb-2 mr-3">
<a class="text-white mastodon-share" target="blank" rel="noreferrer" href="https://mastodonshare.com/?url={{ share_url }}&text={{ share_text|urlencode }}"><i class="fab fa-mastodon"></i>Mastodon</a>
<a class="text-white mastodon-share" target="blank" rel="noreferrer" href="https://mastodonshare.com/?url={{ share_url|urlencode }}&text={{ share_text|urlencode }}"><i class="fab fa-mastodon"></i>Mastodon</a>
</div>
<div class="col-auto pt-0 pb-2 mr-3">
<a class="text-white" target="blank" rel="noreferrer" href="https://t.me/share/url?url={{ share_url }}&text={{ share_text|urlencode }}"><i class="fab fa-telegram"></i>Telegram</a>
<a class="text-white" target="blank" rel="noreferrer" href="https://t.me/share/url?url={{ share_url|urlencode }}&text={{ share_text|urlencode }}"><i class="fab fa-telegram"></i>Telegram</a>
</div>
<div class="col-auto pt-0 pb-2 mr-3">
<a class="text-white" target="blank" rel="noreferrer" href="http://www.facebook.com/share.php?u={{ share_url }}"><i class="fab fa-facebook"></i>Facebook</a>
<a class="text-white" target="blank" rel="noreferrer" href="http://www.facebook.com/share.php?u={{ share_url|urlencode }}"><i class="fab fa-facebook"></i>Facebook</a>
</div>
<div class="col-auto pt-0 pb-2 mr-3">
<a class="text-white reddit-share" target="blank" rel="noreferrer" href="https://www.reddit.com/r/privacy/submit?title={{ share_title|urlencode }}&url={{ share_url }}"><i class="fab fa-reddit"></i>Reddit</a>
<a class="text-white reddit-share" target="blank" rel="noreferrer" href="https://www.reddit.com/r/privacy/submit?title={{ share_title|urlencode }}&url={{ share_url|urlencode }}"><i class="fab fa-reddit"></i>Reddit</a>
</div>
<div class="col-auto pt-0 pb-2 mr-3">
<a class="text-white" target="blank" rel="noreferrer" href="https://api.whatsapp.com/send?text={{ share_message|urlencode }}"><i class="fab fa-whatsapp"></i>WhatsApp</a>