From 78570eed305682021c1791b1f44ca9235cfcb9ac Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 27 Jan 2010 10:44:01 -0500 Subject: Fixed Unicode-mangling bug For the longest time, special Unicode characters have been showing up as nonsense. It turned out that my homegrown BBCode parser was at fault. --- includes/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/bbcode.php b/includes/bbcode.php index b116e7a..28247ff 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php @@ -68,7 +68,7 @@ class BBCode $this->init(); } - $to_parse = str_replace("\n",'[br]',htmlentities($text)); + $to_parse = str_replace("\n",'[br]',$text); foreach ($this->bbcodes as $name => $value) { -- cgit 1.4.1