diff --git a/lib/classes/Markup.class.php b/lib/classes/Markup.class.php
index a56d15a802a75f6fb7df50ec20599c94f9ebe810..da040fa7aadc1a59779828b3489a3829a2c5f4d2 100644
--- a/lib/classes/Markup.class.php
+++ b/lib/classes/Markup.class.php
@@ -298,13 +298,13 @@ class Markup
             i
             img[alt|src|height|width|class|style]
             li
-            ol
+            ol[reversed|start|style]
             p[style]
             pre[class]
             span[style|class]
             strong
             u
-            ul
+            ul[style]
             s
             small
             sub
@@ -402,6 +402,10 @@ class Markup
         $def->addElement('figcaption', 'Inline', 'Flow', 'Common');
         $def->addElement('figure', 'Block', 'Optional: (figcaption, Flow) | (Flow, figcaption) | Flow', 'Common');
 
+        $def->addAttribute('ol', 'reversed', 'Bool');
+        $def->addAttribute('ol', 'style', 'Text');
+        $def->addAttribute('ul', 'style', 'Text');
+
         return new \HTMLPurifier($config);
     }