Merge pull request 'Preserve mastodon-style quote-fallback marker' (#977) from mastodon-quotes into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/977 Reviewed-by: Oneric <oneric@noreply.akkoma>
This commit is contained in:
commit
9d12c7c00c
1 changed files with 6 additions and 0 deletions
|
|
@ -58,8 +58,14 @@ defmodule Pleroma.HTML.Scrubber.Default do
|
|||
Meta.allow_tag_with_these_attributes(:u, [])
|
||||
Meta.allow_tag_with_these_attributes(:ul, [])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:p, "class", [
|
||||
# mastodon-style quote fallbacks
|
||||
"quote-inline"
|
||||
])
|
||||
|
||||
Meta.allow_tag_with_this_attribute_values(:span, "class", [
|
||||
"h-card",
|
||||
# *oma-style quote fallbacks
|
||||
"quote-inline",
|
||||
# "FEP-c16b: Formatting MFM functions" tags that Akkoma supports
|
||||
# NOTE: Maybe it would be better to have something like "allow `mfm-*`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue