CDN not work when url in background-image property does not have quote

Theme loading post grid images are showing site urls instead of CDN. It works for other sections and images. Does not work on the Recent Post module.