]> cat aescling's git repositories - mastodon.git/commitdiff
Add support for li attribute to li element
authorThibaut Girka <thib@sitedethib.com>
Tue, 30 Jun 2020 22:14:03 +0000 (00:14 +0200)
committerThibG <thib@sitedethib.com>
Tue, 30 Jun 2020 23:02:27 +0000 (01:02 +0200)
app/lib/sanitize_config.rb

index 8b57b0f72326135a74fe2964fcdc1457d91a9139..ccc3f4642aa4152e41d705a42334c15c450a1e8f 100644 (file)
@@ -91,6 +91,7 @@ class Sanitize
         'abbr'       => %w(title),
         'blockquote' => %w(cite),
         'ol'         => %w(start reversed),
+        'li'         => %w(value),
       },
 
       add_attributes: {