thirtybees / niara

Niara, thirty bees default theme since v1.1.0.
https://thirtybees.com
9 stars 26 forks source link

srcset - invalid escape mode for urls #68

Open getdatakick opened 1 year ago

getdatakick commented 1 year ago

Urls in srcset are escaped using html mode:

srcset="{$imageUrl|escape:'html':'UTF-8'} 211w"

It should be escaped using url, otherwise we have problems with spaces in path:

srcset="{$imageUrl|escape:'url':'UTF-8'} 211w"