Enonic version: 5.31
OS: Windows10
Urls containing space are not escaped, and this fails in the W3C validator.
Urls containing space are not escaped, and this fails in the W3C validator.
Hi Mathis,
This is a known bug that is fixed in 6.0.0.
In the meantime just add this one line code to all URL paths (assuming your image URL is stored in the variable imageUrl):
imageUrl = imageUrl.replace(/ /g,'%20');
(or create a function that does this for you).