diff options
author | RobertBaron | 2017-02-23 19:03:15 -0600 |
---|---|---|
committer | RobertBaron | 2017-02-23 19:03:15 -0600 |
commit | f070ba47ecd14fa18777e138e065752fec772c4c (patch) | |
tree | 8dd3dcc38004b08ea885c059a60106a90328555e | |
parent | b143e5976bd3dbc5445a27052a93ab6f060b361b (diff) |
Allow whitespace on background-images, w3 compliance
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) { |