From 4c82d95641f65f64b6b471a82771f4d343784946 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 25 Jun 2025 16:11:39 +0300 Subject: [PATCH] allow data-mfm --- priv/scrubbers/default.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex index dad9dc1a1..f554a89bb 100644 --- a/priv/scrubbers/default.ex +++ b/priv/scrubbers/default.ex @@ -41,6 +41,7 @@ defmodule Pleroma.HTML.Scrubber.Default do # sort(1)-ed list Meta.allow_tag_with_these_attributes(:bdi, []) + Meta.allow_tag_with_these_attributes(:center, []) Meta.allow_tag_with_these_attributes(:bdo, ["dir"]) Meta.allow_tag_with_these_attributes(:big, ["lang"]) Meta.allow_tag_with_these_attributes(:b, ["lang"])