aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRobertBaron <rbaronmonge@gmail.com>2017-02-23 19:03:15 -0600
committerRobertBaron <rbaronmonge@gmail.com>2017-02-23 19:03:15 -0600
commitf070ba47ecd14fa18777e138e065752fec772c4c (patch)
tree8dd3dcc38004b08ea885c059a60106a90328555e /js
parentb143e5976bd3dbc5445a27052a93ab6f060b361b (diff)
downloadperl-software-in-gnu-guix-f070ba47ecd14fa18777e138e065752fec772c4c.tar
perl-software-in-gnu-guix-f070ba47ecd14fa18777e138e065752fec772c4c.tar.gz
Allow whitespace on background-images, w3 compliance
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
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() ) {