Properly update event ics export cache and fix export desc html

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-14 15:44:16 +02:00
parent 32f6ee7019
commit cc701f8994
3 changed files with 8 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ defmodule Mobilizon.Service.Export.ICalendar do
dtstart: event.begins_on,
dtstamp: event.publish_at || DateTime.utc_now(),
dtend: event.ends_on,
description: event.description,
description: HtmlSanitizeEx.strip_tags(event.description),
uid: event.uuid,
categories: event.tags |> Enum.map(& &1.slug)
}