mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 01:38:49 -05:00
update: only allow px for bbcode font size
This commit is contained in:
@@ -89,7 +89,7 @@ class Bbcode
|
||||
'size' => [
|
||||
'openBbcode' => '/^\[size=(\d+)\]/i',
|
||||
'closeBbcode' => '[/size]',
|
||||
'openHtml' => '<span style="font-size: clamp(10px, $1, 100px);">',
|
||||
'openHtml' => '<span style="font-size: clamp(10px, $1px, 100px);">',
|
||||
'closeHtml' => '</span>',
|
||||
'block' => false,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user