1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-20 09:52:19 +01:00

[bug] facebook sharing of event has HTML tags in description

This commit is contained in:
Sylvain 2018-01-09 15:02:45 +01:00
parent bdf799f79e
commit 290b2ad513
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
## next release
- Fix a bug: a reminder notification were sent for canceled reservations
- Fix a bug: sharing an event on facebook has HTML tags in the description
## v2.6.3 2018 January 2

View File

@ -12,7 +12,7 @@
<!-- Facebook Open Graph -->
<meta property="og:title" content="<%= @event.title %>"/>
<meta property="og:description" content="<%= @event.description %>"/>
<meta property="og:description" content="<%= strip_tags(@event.description) %>"/>
<% if @event.event_image %>
<meta property="og:image" content="<%= root_url+image.url %>"/>
<meta property="og:image:width" content="<%= width%>" />