From 38eb0499edba804e25864e3aefe8d1db2f69545c Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 21 Nov 2019 18:38:28 +0000 Subject: [PATCH] wip #2528 @0.25 --- .../html5/raster/class.ws.html5.compiler.php | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/inc/ws/Util/html5/raster/class.ws.html5.compiler.php b/inc/ws/Util/html5/raster/class.ws.html5.compiler.php index 73faaf710..cf0b403da 100644 --- a/inc/ws/Util/html5/raster/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/raster/class.ws.html5.compiler.php @@ -1629,20 +1629,9 @@ class wsHTML5Compiler { global $core; - switch ($this->book->parametres->mobileVersion) { - case 'html5-desktop': - $this->backgroundsPrefix = array('t', 'p'); - $this->svg = true; - break; - case 'html5-images': - $this->backgroundsPrefix = array('t'); - $this->svg = false; - break; - default: - $this->backgroundsPrefix = array('p'); - $this->svg = true; - break; - } + + $this->backgroundsPrefix = array('p'); + $this->svg = true; $rasterizePages = $this->config->rasterizePages; $this->config->pagesDimensions = []; -- 2.39.5