diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2010-01-27 10:44:01 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2010-01-27 10:44:01 -0500 |
commit | 78570eed305682021c1791b1f44ca9235cfcb9ac (patch) | |
tree | f64e03d63c8566f85f0fdaf33ac88848824f2737 | |
parent | d0c5eabfbc64b948a50d8784757c80d62356ffee (diff) | |
download | fourisland-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.
-rwxr-xr-x | includes/bbcode.php | 2 |
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 | { |