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:
parent
bdf799f79e
commit
290b2ad513
@ -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
|
||||
|
||||
|
@ -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%>" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user