Skip to content

Commit

Permalink
暫定対処をもうちょっとちゃんとした
Browse files Browse the repository at this point in the history
  • Loading branch information
mashiro committed Sep 2, 2013
1 parent 88a6fb7 commit 2f6e16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ private function logFilter($logs){
$after = "";

$log[ 'log' ] = str_replace( ' ', '  ', htmlspecialchars( $log[ 'log' ] ) );
$log[ 'log' ] = str_replace("سمَـَّوُوُحخ ̷̴̐خ ̷̴̐خ ̷̴̐خ امارتيخ ̷̴̐خ", "<span class='keyword_filter'>*censored*</span>", $log['log']);
$log[ 'log' ] = preg_replace("/[\x{0300}-\x{036F}]|[\x{1DC0}-\x{1DFF}]|[\x{20D0}-\x{20FF}]|[\x{FE20}-\x{FE2F}]/u", '?', $log['log']);

if (preg_match_all('/\\x03([0-9]+)([^\\x03]+)(\\x03)?/', $log['log'], $m)) {
if ($m[0]) {
Expand Down

0 comments on commit 2f6e16d

Please sign in to comment.