Fix EZP-23182: Image preview not shown in popup/browse if alias contains...

... quotes

JIRA: https://jira.ez.no/browse/EZP-23182
This is a follow-up of EZP-23086, #1019