Turn on markup normalisation by default
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 26 Nov 2022 20:46:08 +0000 (20:46 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 26 Nov 2022 20:46:38 +0000 (20:46 +0000)
lib/pleroma/web/activity_pub/mrf.ex

index 0d4986e681ba5a27f2cbd942042e3ae61b1221ca..064ffc527adef1b085a334255ad3897b32b8f2e5 100644 (file)
@@ -140,7 +140,8 @@ defmodule Pleroma.Web.ActivityPub.MRF do
     |> get_policies()
     |> Enum.concat([
       Pleroma.Web.ActivityPub.MRF.HashtagPolicy,
-      Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy
+      Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy,
+      Pleroma.Web.ActivityPub.MRF.NormalizeMarkup
     ])
     |> Enum.uniq()
   end