diff --git a/lib/classes/Markup.class.php b/lib/classes/Markup.class.php index 77628ad16282eb1d71c2603b0d356b75c68b1122..dd3ffd883e8e6e9aaa89fe0b85c34ea6504a9db4 100644 --- a/lib/classes/Markup.class.php +++ b/lib/classes/Markup.class.php @@ -297,13 +297,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 @@ -401,6 +401,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); }