correctly escape titles subtitles and excerpts in all contexts; fixes #856
This commit is contained in:
parent
24e182b90e
commit
505305ebe7
10 changed files with 23 additions and 22 deletions
|
@ -11,7 +11,7 @@
|
|||
<span class="sr-only">Share: </span>
|
||||
|
||||
{% if site.share-links-active.twitter %}
|
||||
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
||||
<a href="https://twitter.com/intent/tweet?text={{ page.title | strip_html | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
||||
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
||||
<span class="fab fa-fw fa-twitter" aria-hidden="true"></span>
|
||||
<span class="sr-only">Twitter</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue