summaryrefslogtreecommitdiff
path: root/src/BBCodeParser.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-25 20:37:00 +0000
committeruckelman <uckelman@nomic.net>2010-04-25 20:37:00 +0000
commit220fc30dcd11beee18fb23d60456c901ab6b392d (patch)
treeb75ec2cdd25427738df579b39bbc07b3d2ff3b17 /src/BBCodeParser.php
parent4148fbc381045066a724feb2f592592257759ba5 (diff)
Added test.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6750 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/BBCodeParser.php')
-rw-r--r--src/BBCodeParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php
index eacff6a..1083f7e 100644
--- a/src/BBCodeParser.php
+++ b/src/BBCodeParser.php
@@ -9,7 +9,7 @@ class BBCodeParser {
function parse($in, $uid) {
# decode HTML entities before parsing
- $in = html_entity_decode($in);
+ $in = html_entity_decode($in, 'UTF-8');
$text_stack = array();
$arg_stack = array();