Open m2-assistant[bot] opened 1 year ago
Hi @pykettk ,
Thanks for the reporting and collaboration!
We have looked into the codebase of the 2.4-develop branch and find that the function escapeJs of lib/internal/Magento/Framework/View/Element/AbstractBlock.php is marked as deprecated and from now on, should use the function defined in class lib/internal/Magento/Framework/Escaper.php named escapeJs.
Hence confirming this issue.
Thanks
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-8186 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
This issue is automatically created based on existing pull request: magento/magento2#37057: Chore: Reports - Replace Block Escaping with Escaper
Description (*)
Refactors the
Magento_Reports
module to replace$block
escaping functions with$escaper
escaping functions.Contribution checklist (*)