Commit a79cad4c authored by David Metzler's avatar David Metzler
Browse files

Fixed exscaping of quotes in javascript.

parent e4b460a6
...@@ -83,10 +83,10 @@ class FrxRenderer { ...@@ -83,10 +83,10 @@ class FrxRenderer {
{ {
$text = $dom_node->textContent; $text = $dom_node->textContent;
if (!empty($settings['stripWhiteSpace'])) { if (!empty($settings['stripWhiteSpace'])) {
$o .= trim( $this->teng->replace(htmlspecialchars($text))); $o .= trim( $this->teng->replace(htmlspecialchars($text, ENT_NOQUOTES)));
} }
else { else {
$o .= $this->teng->replace(htmlspecialchars($text)); $o .= $this->teng->replace(htmlspecialchars($text, ENT_NOQUOTES));
} }
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment