diff --git a/js/reveal.js b/js/reveal.js
index 65560a6..841cbb6 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3085,7 +3085,7 @@
 
 				// Images
 				if( backgroundImage ) {
-					background.style.backgroundImage = 'url('+ backgroundImage +')';
+					background.style.backgroundImage = 'url('+ encodeURI(backgroundImage) +')';
 				}
 				// Videos
 				else if ( backgroundVideo && !isSpeakerNotes() ) {