allow small/center tags in misskeymarkdown (#132)
[akkoma] / priv / scrubbers / default.ex
index 4694a92a53b657f501c6574f7e33fc0f20064daa..478cbde9bef47ad1d5ee06c196aebd7bc64afca2 100644 (file)
@@ -97,5 +97,8 @@ defmodule Pleroma.HTML.Scrubber.Default do
     Meta.allow_tag_with_these_attributes(:font, ["face"])
   end
 
+  Meta.allow_tag_with_these_attributes(:center, [])
+  Meta.allow_tag_with_these_attributes(:small, [])
+
   Meta.strip_everything_not_covered()
 end