View Single Post
Old 10-14-2025, 09:54 AM   #12
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,047
Karma: 6361556
Join Date: Nov 2009
Device: many
There is a bug in Sigil's ImportHTML module that occurs when there is no fix found.
I will hopefully get that fixed for the next release.

For the record, the correct fix is the following:

Code:
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
Notice that in the javascript comments I needed to xml escape the '<' and '>' characters to their xml entities &lt; and &gt; respectively, in that license statement (something about the 'http:" is preventing the fix from being applied.

Also for what is is worth. That is a huge file. For performance sake especially for old ereaders you should insert Sigil split markers at proper demarcation points and split this file into many separate chapter or sections or whatever. Some old epub2 only e-readers could only use 320k of xhtml/html before slowing down (or even crashing) so this has becomes a reasonable maximum file size for epub chapters.

Hope this explains things. I will try to track down and fix the import bug.

Last edited by KevinH; 10-14-2025 at 09:57 AM.
KevinH is offline   Reply With Quote