}
// Do we have some quotes left and right side? Then it is free text
- if ((substr($varMatches[2][$key], 0, 1) == "\'') && (substr($varMatches[2][$key], -1, 1) == "\'')) {
+ if ((substr($varMatches[2][$key], 0, 1) == "\"") && (substr($varMatches[2][$key], -1, 1) == "\"")) {
// Free string detected! Which we can assign directly
$this->assignVariable($var, $varMatches[3][$key]);
} elseif (!empty($varMatches[2][$key])) {
$eval = str_replace(
"<%php", "\";",
str_replace(
- "%>", "\n\$result .= \'', $eval
+ "%>", "\n\$result .= \"", $eval
)
);