projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fine then no fun allowed, y'all don't deserve it
[akkoma]
/
priv
/
scrubbers
/
default.ex
diff --git
a/priv/scrubbers/default.ex
b/priv/scrubbers/default.ex
index 68ac06e321cf4d2fa2cc6ba2d50c4d4c462c4cf0..37ffaef3a0ba3e4ec9e3b0742020fe8dd9441f6e 100644
(file)
--- a/
priv/scrubbers/default.ex
+++ b/
priv/scrubbers/default.ex
@@
-56,26
+56,24
@@
defmodule Pleroma.HTML.Scrubber.Default do
Meta.allow_tag_with_these_attributes(:u, [])
Meta.allow_tag_with_these_attributes(:ul, [])
Meta.allow_tag_with_these_attributes(:u, [])
Meta.allow_tag_with_these_attributes(:ul, [])
- Meta.allow_tags_with_style_attributes([:span])
-
Meta.allow_tag_with_this_attribute_values(:span, "class", [
"h-card",
"quote-inline",
"mfm",
Meta.allow_tag_with_this_attribute_values(:span, "class", [
"h-card",
"quote-inline",
"mfm",
- "_mfm_tada_",
- "_mfm_jelly_",
- "_mfm_twitch_",
- "_mfm_shake_",
- "_mfm_spin_",
- "_mfm_jump_",
- "_mfm_bounce_",
- "_mfm_flip_",
- "_mfm_x2_",
- "_mfm_x3_",
- "_mfm_x4_",
- "_mfm_blur_",
- "_mfm_rainbow_",
- "_mfm_rotate_"
+ "
mfm
_mfm_tada_",
+ "
mfm
_mfm_jelly_",
+ "
mfm
_mfm_twitch_",
+ "
mfm
_mfm_shake_",
+ "
mfm
_mfm_spin_",
+ "
mfm
_mfm_jump_",
+ "
mfm
_mfm_bounce_",
+ "
mfm
_mfm_flip_",
+ "
mfm
_mfm_x2_",
+ "
mfm
_mfm_x3_",
+ "
mfm
_mfm_x4_",
+ "
mfm
_mfm_blur_",
+ "
mfm
_mfm_rainbow_",
+ "
mfm
_mfm_rotate_"
])
Meta.allow_tag_with_these_attributes(:span, [
])
Meta.allow_tag_with_these_attributes(:span, [
@@
-98,7
+96,6
@@
defmodule Pleroma.HTML.Scrubber.Default do
Meta.allow_tag_with_these_attributes(:img, [
"width",
"height",
Meta.allow_tag_with_these_attributes(:img, [
"width",
"height",
- "class",
"title",
"alt"
])
"title",
"alt"
])