mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 08:58:42 +00:00
fix(web): allow <img> width attr
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9efa58fc0b
commit
16d20b38f4
@ -437,6 +437,7 @@ class HTML {
|
||||
|
||||
$extra_allowed_html = [
|
||||
'span' => ['data-realname' => 'Text', 'data-uoj-username' => 'Number'],
|
||||
'img' => ['width' => 'Text'],
|
||||
];
|
||||
|
||||
foreach ($extra_allowed_html as $element => $attributes) {
|
||||
|
Loading…
Reference in New Issue
Block a user