Skip to content

Commit

Permalink
forums add style word-break: break-all
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Oct 12, 2024
1 parent 74556df commit 2750059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/forums.php
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ function insert_compose_frame($id, $type = 'new')

print("<table class=\"main\" width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"5\">\n");

$body = "<div id=\"pid".$postid."body\">";
$body = "<div id=\"pid".$postid."body\" style=\"word-break: break-all;\">";
//hidden content applied to second or higher floor post (for whose user class below Ad , not poster , not mods ,not reply's author)
// if ($protected_enabled && $pn+$offset>1 && get_user_class()<UC_ADMINISTRATOR && $userid != $base_posterid && $posterid!=$userid && !$is_forummod){
if ($pn+$offset>1 && !can_view_post($userid, $arr)){
Expand Down

0 comments on commit 2750059

Please sign in to comment.