[
https://issues.apache.org/jira/browse/SLING-11833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714621#comment-17714621
]
Dan Klco commented on SLING-11833:
----------------------------------
PR created for the fix:
https://github.com/apache/sling-org-apache-sling-rewriter/pull/12
> The double quotes in the page js are escaped and cannot run js
> --------------------------------------------------------------
>
> Key: SLING-11833
> URL: https://issues.apache.org/jira/browse/SLING-11833
> Project: Sling
> Issue Type: Bug
> Components: App CMS
> Affects Versions: Rewriter 1.3.0, App CMS 1.1.2
> Reporter: James Raynor
> Assignee: Dan Klco
> Priority: Major
> Attachments: 2023-04-19--09-56-41.png
>
>
> Edit the content on page:
> [http://localhost:8080/bin/browser.html/apps/reference/components/pages/base/base.jsp]
> then test it on page:
> [http://localhost:8080/content/apache/sling-apache-org/index.html]
> The test results are shown in the picture.
> Double quotes within the page are escaped, but in previous versions (e.g.
> 0.16.2) it was ok and there was no such problem.
> __________________________________________________________________________________________________________________________________
> 2023-04-20 update:
> "&&", "<", ">" also doesn't work anymore, e.g:
> if (result.data != null && result.data != '' && result.exist == 'true')
> if (result.data != null & amp;& amp; result.data != '' & amp;& amp;
> result.exist == 'true')
--
This message was sent by Atlassian Jira
(v8.20.10#820010)