about summary refs log tree commit diff
path: root/app/lib/sanitize_config.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-07-01 00:06:22 +0200
committerThibG <thib@sitedethib.com>2020-07-01 01:02:27 +0200
commitf186e0c91cd378b9024c71a501d2217111ac5e3d (patch)
tree8ff4cf80232183e2f9edf15f874c7e3889cb76cc /app/lib/sanitize_config.rb
parent814d3f343f8caae3366410900eec0b90b9bbbb7b (diff)
Add support for “start” and “reversed” attributes to ol element
Fixes #1367
Diffstat (limited to 'app/lib/sanitize_config.rb')
-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 dfd8b9f91..8b57b0f72 100644
--- a/app/lib/sanitize_config.rb
+++ b/app/lib/sanitize_config.rb
@@ -90,6 +90,7 @@ class Sanitize
         'span'       => %w(class),
         'abbr'       => %w(title),
         'blockquote' => %w(cite),
+        'ol'         => %w(start reversed),
       },
 
       add_attributes: {