fix(web): allow <img> width attr
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-12-06 16:11:25 +08:00
parent 9efa58fc0b
commit 16d20b38f4
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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) {