From 39a0622de70dc24275808cee9526658bd68a55ed Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 1 Jul 2020 00:14:03 +0200 Subject: [PATCH] Add support for li attribute to li element --- app/lib/sanitize_config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index 8b57b0f723..ccc3f4642a 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: {