Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
forena
Commits
a79cad4c
Commit
a79cad4c
authored
Sep 02, 2014
by
David Metzler
Browse files
Fixed exscaping of quotes in javascript.
parent
e4b460a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
renderers/FrxRenderer.inc
View file @
a79cad4c
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment