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 ...@@ -295,7 +295,7 @@ class Markup
h6 h6
hr hr
i i
img[alt|src|height|width|style] img[alt|src|height|width|class|style]
li li
ol ol
p[style] p[style]
...@@ -324,6 +324,9 @@ class Markup ...@@ -324,6 +324,9 @@ class Markup
$config->set('Attr.AllowedClasses', [ $config->set('Attr.AllowedClasses', [
'author', 'author',
'content', 'content',
'image',
'image-style-side',
'image_resized',
'link-extern', 'link-extern',
'link-intern', 'link-intern',
'math-tex', '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