summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/BBCodeParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php
index 1083f7e..9e3233a 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, 'UTF-8');
+ $in = html_entity_decode($in, ENT_QUOTES, 'UTF-8');
$text_stack = array();
$arg_stack = array();