View Single Post
Old 07-07-2018, 03:32 AM   #1
ghartwig
Junior Member
ghartwig began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2018
Location: Dallas, TX
Device: iBooks
Problems with eBooks from Apple Pages 7.1

The new version of Apple's Pages exports ePub files with this in the header:
Code:
<script src="../Misc/book.js"></script>
This seems to cause all of the body text to have special characters converted to entities when loaded. Example:

Code:
&lt;body dir="ltr" onload="Body_onLoad()"&gt;&lt;div class="body" style="white-space:pre-wrap; line-break:strict;"&gt;&lt;h1 class="p21" style=""&gt;
When these <script> tags are removed from each xhtml file, the ePub file loads into Sigil properly.
ghartwig is offline   Reply With Quote