From: Alex Gleason Date: Wed, 14 Oct 2020 00:16:57 +0000 (-0500) Subject: Fix AudioVideoValidator markdown X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=642729b49fca41fb142c6121fedf35c96c03b018;p=akkoma Fix AudioVideoValidator markdown --- diff --git a/lib/pleroma/web/activity_pub/object_validators/audio_video_validator.ex b/lib/pleroma/web/activity_pub/object_validators/audio_video_validator.ex index 9b38aa4c2..fa3e2c026 100644 --- a/lib/pleroma/web/activity_pub/object_validators/audio_video_validator.ex +++ b/lib/pleroma/web/activity_pub/object_validators/audio_video_validator.ex @@ -96,6 +96,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.AudioVideoValidator do content = content |> Pleroma.Formatter.markdown_to_html() + |> Pleroma.Formatter.minify("text/html") |> Pleroma.HTML.filter_tags() Map.put(data, "content", content)