From 89452645ee1e8976b56624154b948dcaf86ccfff Mon Sep 17 00:00:00 2001 From: Bertocq Date: Thu, 17 Aug 2017 14:14:30 +0200 Subject: [PATCH] Use CGI.escape for whatsapp title sharing --- app/views/shared/_social_share.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_social_share.html.erb b/app/views/shared/_social_share.html.erb index 00d94ce5c..116e15ec1 100644 --- a/app/views/shared/_social_share.html.erb +++ b/app/views/shared/_social_share.html.erb @@ -4,7 +4,7 @@ <% end %>
<%= social_share_button_tag("#{title} #{setting['twitter_hashtag']}") %> -  <%= url %>" + <%= t("social.whatsapp") %>