diff options
author | RobertBaron <rbaronmonge@gmail.com> | 2017-02-23 19:03:15 -0600 |
---|---|---|
committer | RobertBaron <rbaronmonge@gmail.com> | 2017-02-23 19:03:15 -0600 |
commit | f070ba47ecd14fa18777e138e065752fec772c4c (patch) | |
tree | 8dd3dcc38004b08ea885c059a60106a90328555e /js | |
parent | b143e5976bd3dbc5445a27052a93ab6f060b361b (diff) | |
download | perl-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.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() ) { |