projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add link verification in profile fields (#405)
[akkoma]
/
priv
/
scrubbers
/
default.ex
diff --git
a/priv/scrubbers/default.ex
b/priv/scrubbers/default.ex
index 68ac06e321cf4d2fa2cc6ba2d50c4d4c462c4cf0..771f27ac1d08848dcb8e7ac44fd9d4f94b9164d4 100644
(file)
--- a/
priv/scrubbers/default.ex
+++ b/
priv/scrubbers/default.ex
@@
-62,20
+62,20
@@
defmodule Pleroma.HTML.Scrubber.Default do
"h-card",
"quote-inline",
"mfm",
"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
+98,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"
])