// Compile constants
if ($simple === FALSE) {
// Add more 'from'
- array_push($charsCompile['from'], '{--', '--}');
+ array_unshift($charsCompile['from'], '{--', '--}');
// Add more 'to'
- array_push($charsCompile['to'], '".', '."');
+ array_unshift($charsCompile['to'], '".', '."');
} // END - if
// Compile QUOT and other non-HTML codes
- $code = str_replace($charsCompile['from'], $charsCompile['to'], $code);
+ $code = str_replace($charsCompile['from'], $charsCompile['to'], decodeEntities($code));
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'code=' . $code);
// Return compiled code
return $code;