Skip to content
Snippets Groups Projects
Commit 00000b28 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3653

Closes #3653

Merge request studip/studip!2533
parent 9a8dea57
No related branches found
No related tags found
No related merge requests found
...@@ -298,13 +298,13 @@ class Markup ...@@ -298,13 +298,13 @@ class Markup
i i
img[alt|src|height|width|class|style] img[alt|src|height|width|class|style]
li li
ol ol[reversed|start|style]
p[style] p[style]
pre[class] pre[class]
span[style|class] span[style|class]
strong strong
u u
ul ul[style]
s s
small small
sub sub
...@@ -402,6 +402,10 @@ class Markup ...@@ -402,6 +402,10 @@ class Markup
$def->addElement('figcaption', 'Inline', 'Flow', 'Common'); $def->addElement('figcaption', 'Inline', 'Flow', 'Common');
$def->addElement('figure', 'Block', 'Optional: (figcaption, Flow) | (Flow, figcaption) | 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); return new \HTMLPurifier($config);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment