diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-04-21 22:04:19 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-04-22 23:07:14 +0200 |
commit | 27e8354914cb9f6725c911d5825399fc265852fe (patch) | |
tree | f9b9b702b51bf393d472176558185056edee6d31 /app/lib/sanitize_config.rb | |
parent | 659f972bed63d9e8f18791ba4e0f779169f5fb4e (diff) |
Add support for lists in statuses
Diffstat (limited to 'app/lib/sanitize_config.rb')
-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 7c376c412..0a87bf6df 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -20,7 +20,7 @@ class Sanitize end MASTODON_STRICT ||= freeze_config( - elements: %w(p br span a abbr del pre blockquote code b strong i em h1 h2 h3 h4 h5), + elements: %w(p br span a abbr del pre blockquote code b strong i em h1 h2 h3 h4 h5 ul ol li), attributes: { 'a' => %w(href rel class title), |