1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-05 22:27:37 +02:00

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() ) {