Allow whitespace on background-images, w3 compliance

This commit is contained in:
RobertBaron 2017-02-23 19:03:15 -06:00
parent b143e5976b
commit f070ba47ec

View file

@ -3085,7 +3085,7 @@
// Images
if( backgroundImage ) {
background.style.backgroundImage = 'url('+ backgroundImage +')';
background.style.backgroundImage = 'url('+ encodeURI(backgroundImage) +')';
}
// Videos
else if ( backgroundVideo && !isSpeakerNotes() ) {