Fix rendering in apple books

This commit is contained in:
Joey Yakimowich-Payne 2025-11-17 08:51:18 -07:00
commit 1790d4a360
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ function buildXhtml(pageCss, innerHtml, themeMode, includeKindleCss, extraThemeC
`<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<meta charset="utf-8">
<meta charset="utf-8" />
${pageCss}
<style type="text/css">
body{margin:1em;background-color:transparent!important;}

View file

@ -49,7 +49,7 @@ function buildXhtml(pageCss, innerHtml, themeMode, includeKindleCss, extraThemeC
`<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<meta charset="utf-8">
<meta charset="utf-8" />
${pageCss}
<style type="text/css">
body{margin:1em;background-color:transparent!important;}