From 35977d927aa999da9f63521e172a64b2496d3d55 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 7 Jul 2020 17:17:46 +0000 Subject: [PATCH] fix #3747 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 2c4d52bc4..c54a35a63 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -80,6 +80,7 @@ class wsHTML5Compiler 'js/libs/fluidbook/fluidbook.background.js', 'js/libs/fluidbook/fluidbook.pad.js', 'js/libs/fluidbook/fluidbook.audiodescription.js', + 'js/libs/fluidbook/fluidbook.accessibility.js', 'js/libs/fluidbook/fluidbook.privacy.js', 'js/libs/fluidbook/fluidbook.zoom.js', 'js/libs/fluidbook/fluidbook.menu.js', @@ -773,8 +774,7 @@ class wsHTML5Compiler if (count($this->accessibleTexts) > 0) { - // Overwrite SEO version - $this->seo = new wsHTML5Seo($this); + $this->config->accessibleTexts = $this->accessibleTexts; } } @@ -963,7 +963,7 @@ class wsHTML5Compiler $this->vdir->copy($this->wdir . '/' . $img, 'data/images/' . $img); $splashstyles = 'background-image:url(' . 'data/images/' . $img . ');background-size:contain;background-position:50% 50%;'; if ($this->book->parametres->splashURL !== '') { - $splash = ''; + $splash = ''; } } else if ($this->theme->parametres->logoLoader && file_exists($this->themeRoot . $this->theme->parametres->logoLoader)) { $dim = CubeIT_Image::getimagesize($this->themeRoot . $this->theme->parametres->logoLoader); @@ -986,8 +986,8 @@ class wsHTML5Compiler if ($this->phonegap) { $csp = "securityPolicyWhitelist)) . "; img-src * data:\">"; } - $lang=$this->book->lang; - $vars = array('lang','titre', 'credits', 'style', 'script', 'pagesContents', 'print', 'hiddenContents', 'splash', 'splashstyles', 'cache', 'bgcolor', 'message', 'favicon', 'svg', 'beginbody', 'csp', 'opengraph', 'twittercard', 'description'); + $lang = $this->book->lang; + $vars = array('lang', 'titre', 'credits', 'style', 'script', 'pagesContents', 'print', 'hiddenContents', 'splash', 'splashstyles', 'cache', 'bgcolor', 'message', 'favicon', 'svg', 'beginbody', 'csp', 'opengraph', 'twittercard', 'description'); $res = []; foreach ($vars as $v) { -- 2.39.5