Index: branches/5.2.x/units/helpers/post_helper.php =================================================================== diff -u -N -r15604 -r16024 --- branches/5.2.x/units/helpers/post_helper.php (.../post_helper.php) (revision 15604) +++ branches/5.2.x/units/helpers/post_helper.php (.../post_helper.php) (revision 16024) @@ -1,6 +1,6 @@ Application->ParseBlock($block_params)); } - $input_string = trim( str_replace('\"','"', htmlspecialchars_decode($input_string)) ); + $input_string = trim(str_replace('\"', '"', kUtil::unescape($input_string, kUtil::ESCAPE_HTML))); $input_string = $this->highlightCode($input_string); $input_string = preg_replace("/\r
/s", "\r", $input_string); // undo nl2br added in highlighting $input_string = str_replace('#BB_CODE#', $input_string, $bbcode_mask); @@ -460,4 +461,4 @@ return $manager; } - } \ No newline at end of file + }