Skip to content

Commit

Permalink
Merge pull request #1229 from greenpeace/fix-twitter-card-title
Browse files Browse the repository at this point in the history
PLANET-5660 Revert twitter card title url encoding
  • Loading branch information
sagarsdeshmukh authored Nov 9, 2020
2 parents 5ed59fe + 8c2b859 commit 881d87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/blocks/meta_fields.twig
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="{{ site.name }}" />
<meta name="twitter:title" content="{{ og_title|e('html_attr')|url_encode }}">
<meta name="twitter:title" content="{{ og_title|e('html_attr')|raw }}">
{% if (og_description) %}
<meta name="twitter:description" content="{{ og_description|e('html_attr')|raw }}">
{% endif %}
Expand Down

0 comments on commit 881d87b

Please sign in to comment.