{\r
protected static $uaPrefixes = array('-moz-', '-webkit-', '-o-', '-ms-', '');\r
\r
+ /**\r
+ * @param $book_id\r
+ * @param string $version\r
+ * @param bool $phonegap\r
+ * @param string $phonegapVersion\r
+ * @param null $dir\r
+ * @param bool $standalone\r
+ * @param bool $appcache\r
+ * @param bool $home\r
+ * @param null $book\r
+ * @return wsHTML5Compiler\r
+ */\r
public static function compilerFactory($book_id, $version = 'stable', $phonegap = false, $phonegapVersion = 'latest', $dir = null, $standalone = false, $appcache = false, $home = false, $book = null)\r
{\r
if (is_null($version)) {\r
\r
foreach ($a as $item) {\r
$page = $item['page'] + $offsetPage;\r
+ $item['url'] = CubeIT_Text::removeAccents($item['url']);\r
foreach ($item as $k => $v) {\r
if ($k == 'page') {\r
continue;\r
public function getURL()\r
{\r
if (null === $this->url) {\r
- return $this->page . '-' . CubeIT_Text::str2URL($this->title) . '.html';\r
+ return $this->page . '-' . CubeIT_Text::str2URL(CubeIT_Text::removeAccents($this->title)) . '.html';\r
}\r
return $this->url;\r
}\r