about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-07-01 00:14:03 +0200
committerThibG <thib@sitedethib.com>2020-07-01 01:02:27 +0200
commit39a0622de70dc24275808cee9526658bd68a55ed (patch)
treee59808d3c5450112c3348ccefb96781184afbcb0 /app
parentf186e0c91cd378b9024c71a501d2217111ac5e3d (diff)
Add support for li attribute to li element
Diffstat (limited to 'app')
-rw-r--r--app/lib/sanitize_config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb
index 8b57b0f72..ccc3f4642 100644
--- a/app/lib/sanitize_config.rb
+++ b/app/lib/sanitize_config.rb
@@ -91,6 +91,7 @@ class Sanitize
         'abbr'       => %w(title),
         'blockquote' => %w(cite),
         'ol'         => %w(start reversed),
+        'li'         => %w(value),
       },
 
       add_attributes: {