diff options
author | Starfall <admin@plural.cafe> | 2020-05-17 19:36:43 -0500 |
---|---|---|
committer | Starfall <admin@plural.cafe> | 2020-05-17 19:36:43 -0500 |
commit | 3de0fecfa24ac57adfdd068c0f565f5c53f621d3 (patch) | |
tree | 8be4f9934bf0a7b5e58a5f6373abfc855a043991 /app/lib | |
parent | cb7608c37aeb417a15510901c0017a4398a4b516 (diff) |
Accept incoming summary/details tags (e.g. friendica's spoilers)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/sanitize_config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index 87e8ea9d9..e63f290a3 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -84,7 +84,7 @@ class Sanitize end MASTODON_STRICT ||= freeze_config( - elements: %w(p br span a abbr del pre blockquote code b strong u sub sup i em h1 h2 h3 h4 h5 ul ol li), + elements: %w(p br span a abbr del pre blockquote code b strong u sub sup i em h1 h2 h3 h4 h5 ul ol li details summary), attributes: { 'a' => %w(href rel class title), |