Add support for lists in statuses

This commit is contained in:
Thibaut Girka authored and ThibG committed 2019-04-22 23:07:14 +02:00
1 parent 659f972bed
commit 27e8354914
2 files changed
+13 -1

No files matched your search

@@ -58,6 +58,18 @@
em, i {
font-style: italic;
}
ul, ol {
margin-left: 1em;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
}
a {
+1 -1
View File
@@ -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),