|
|
@ -20,7 +20,7 @@ class Sanitize |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
MASTODON_STRICT ||= freeze_config( |
|
|
|
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: { |
|
|
|
attributes: { |
|
|
|
'a' => %w(href rel class title), |
|
|
|
'a' => %w(href rel class title), |
|
|
|