Merge pull request #1836 from RobertBaron/background-whitespace-uri
Allow whitespace on background-images, w3 compliance
This commit is contained in:
commit
d5f4edeeef
1 changed files with 1 additions and 1 deletions
|
@ -3268,7 +3268,7 @@
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
if( backgroundImage ) {
|
if( backgroundImage ) {
|
||||||
background.style.backgroundImage = 'url('+ backgroundImage +')';
|
background.style.backgroundImage = 'url('+ encodeURI( backgroundImage ) +')';
|
||||||
}
|
}
|
||||||
// Videos
|
// Videos
|
||||||
else if ( backgroundVideo && !isSpeakerNotes() ) {
|
else if ( backgroundVideo && !isSpeakerNotes() ) {
|
||||||
|
|
Loading…
Reference in a new issue