summary refs log tree commit diff stats
path: root/includes
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-01-27 10:44:01 -0500
committerStarla Insigna <hatkirby@fourisland.com>2010-01-27 10:44:01 -0500
commit78570eed305682021c1791b1f44ca9235cfcb9ac (patch)
treef64e03d63c8566f85f0fdaf33ac88848824f2737 /includes
parentd0c5eabfbc64b948a50d8784757c80d62356ffee (diff)
downloadfourisland-78570eed305682021c1791b1f44ca9235cfcb9ac.tar.gz
fourisland-78570eed305682021c1791b1f44ca9235cfcb9ac.tar.bz2
fourisland-78570eed305682021c1791b1f44ca9235cfcb9ac.zip
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.
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/bbcode.php2
1 files changed, 1 insertions, 1 deletions
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
68 $this->init(); 68 $this->init();
69 } 69 }
70 70
71 $to_parse = str_replace("\n",'[br]',htmlentities($text)); 71 $to_parse = str_replace("\n",'[br]',$text);
72 72
73 foreach ($this->bbcodes as $name => $value) 73 foreach ($this->bbcodes as $name => $value)
74 { 74 {