Guilds & Characters: Use CSS word-break: break-all instead of PHP wordwrap

Suggested by @anyeor
This commit is contained in:
slawkens
2023-06-30 19:52:05 +02:00
parent 8cf4d0cb0f
commit 5eafff737a
6 changed files with 6 additions and 6 deletions

View File

@@ -396,7 +396,7 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
'rank' => isset($guild_name) ? $rank_of_player->getName() : null,
'link' => isset($guild_name) ? getGuildLink($guild_name) : null
),
'comment' => !empty($comment) ? wordwrap(nl2br($comment), 60, "<br/>", true) : null,
'comment' => !empty($comment) ? nl2br($comment) : null,
'skills' => isset($skills) ? $skills : null,
'quests_enabled' => $quests_enabled,
'quests' => isset($quests) ? $quests : null,