Skip to content
Snippets Groups Projects
Commit 396d3e64 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by David Siegfried
Browse files

allow image CSS classes in purifier, re #2419

Merge request studip/studip!1643
parent 92683e73
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ class Markup
h6
hr
i
img[alt|src|height|width|style]
img[alt|src|height|width|class|style]
li
ol
p[style]
......@@ -324,6 +324,9 @@ class Markup
$config->set('Attr.AllowedClasses', [
'author',
'content',
'image',
'image-style-side',
'image_resized',
'link-extern',
'link-intern',
'math-tex',
......
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