mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Removed wbr() (#1387)
This commit is contained in:
parent
c0117d3616
commit
80fe5a5e60
13 changed files with 22 additions and 28 deletions
|
@ -790,11 +790,6 @@ function str_short($text, $max_length, $space = ' ')
|
|||
return $text ?? '';
|
||||
}
|
||||
|
||||
function wbr($text, $max_word_length = HTML_WBR_LENGTH)
|
||||
{
|
||||
return preg_replace("/([\w\->;:.,~!?(){}@#$%^*\/\\\\]{" . $max_word_length . "})/ui", '$1<wbr>', $text);
|
||||
}
|
||||
|
||||
function generate_user_info($row, bool $have_auth = IS_ADMIN): array
|
||||
{
|
||||
global $userdata, $lang, $images, $bb_cfg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue