diff --git a/upload/config.php b/upload/config.php index 9d1fe5d4f..a735d255f 100644 --- a/upload/config.php +++ b/upload/config.php @@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1; // Increase number of revision after update $bb_cfg['tp_version'] = '2.0.2'; -$bb_cfg['tp_release_state'] = 'TP II r71'; +$bb_cfg['tp_release_state'] = 'TP II r74'; $bb_cfg['tp_release_date'] = '04-07-2011'; $bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger diff --git a/upload/includes/bbcode.php b/upload/includes/bbcode.php index f4df924db..1be3cc10c 100644 --- a/upload/includes/bbcode.php +++ b/upload/includes/bbcode.php @@ -867,7 +867,7 @@ class bbcode */ function tidy ($text) { - $text = tidy_repair_string($text, $this->tidy_cfg, 'raw'); + $text = tidy_repair_string($text, $this->tidy_cfg, 'utf8'); return $text; } }