Skip to content

Commit

Permalink
+Liveの表示切り詰め処理が通常モードで発動していたため機能ごと除去
Browse files Browse the repository at this point in the history
実況モードでは実況モード用の切り詰め処理が別途実装されているので消しても問題無いはず
連続連続改行消しばデフォで載っているstrip_linebreaksで代用できるはず。
  • Loading branch information
2ch774 committed Mar 11, 2015
1 parent 5502a67 commit 7ad9c7d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/live/live_view_ctl.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@
}

// 内容
// 表示切詰め処理
if (mb_ereg("(([\\s ]*[^\x01-\x7E][\\s ]*<br>){2,})", $msg)) {
$msg = mb_ereg_replace("([\\s ]*<br>[\\s ]*)", "", $msg); // 3行以上の1文字置きの改行文から改行を削除
}

// 実況中の表示切詰め処理
if ($_conf['live.msg']
&& ($_GET['live'])) {
Expand Down

0 comments on commit 7ad9c7d

Please sign in to comment.