Fix EZP-23185: image not displayed in ezoe if alias contains quotes

JIRA: https://jira.ez.no/browse/EZP-23185

When using urlalias_uri and an image's path contains quotes, re-editing content with an image embed will no longer display the image(s) correctly.
Additional follow-up of EZP-23086, #1019, #1035