mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-21 23:08:42 +00:00
fix: bda7c96df6
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
bda7c96df6
commit
81aed1adc2
@ -481,7 +481,7 @@ class HTML {
|
||||
'span' => [
|
||||
'class' => new CustomClassDef(['uoj-username'], ['uoj-username-']),
|
||||
'data-realname' => 'Text',
|
||||
'data-color' => 'Color',
|
||||
'data-color' => 'Enum#' . implode(',', UOJUser::AVAILABLE_COLORS),
|
||||
],
|
||||
'img' => ['width' => 'Text'],
|
||||
]);
|
||||
@ -510,7 +510,7 @@ class HTML {
|
||||
'del' => [],
|
||||
'br' => [],
|
||||
'span' => [
|
||||
'class' => 'Enum#uoj-username,' . implode(',', array_map(fn ($c) => "uoj-username-{$c}", UOJUser::AVAILABLE_COLORS)),
|
||||
'class' => new CustomClassDef(['uoj-username'], ['uoj-username-']),
|
||||
'data-realname' => 'Text',
|
||||
'data-color' => 'Enum#' . implode(',', UOJUser::AVAILABLE_COLORS),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user