From d29db31cd7147aaec9e4c8a8e099c827ce23b82a Mon Sep 17 00:00:00 2001 From: glix08 Date: Mon, 4 Jul 2011 13:30:02 +0000 Subject: [PATCH] r74 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Правим кодировку tidy (наблюдался вот такой баг: http://pics.ivbt.ru/i/f/857a87ded7a98a8b9c8a669a0cb2b2a6.png). git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@74 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/config.php | 2 +- upload/includes/bbcode.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } }