Skip to content

Commit 43f8589

Browse files
author
James Munns
committed
Also strip tags to prevent bad page generation
1 parent fac6581 commit 43f8589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/hyde/templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="twitter:card" content="summary" />
66
<meta name="twitter:site" content="@rustembedded" />
77
<meta name="twitter:title" content="{{ page.title }}" />
8-
<meta name="twitter:description" content="{{ page.summary | safe }}" />
8+
<meta name="twitter:description" content="{{ page.summary | safe | striptags }}" />
99
<meta name="twitter:image" content="{{ get_url(path="ewg-logo-blue-white-on-transparent-256x256.png", trailing_slash=false) }}" />
1010
{%endblock twitter_meta %}
1111

0 commit comments

Comments
 (0)