View Single Post
Old 03-07-2026, 07:32 AM   #25
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,419
Karma: 6733754
Join Date: Nov 2009
Device: many
Again, if you need custom import of non-well formed html, using a plugin is the way to go in Sigil. Importing not well formed code into an existing epub is generally not a good idea, especially those containing large javascripts directly in a script tag.

It is relatively trivial to create a plugin to strip out script tags in the head from html using regex. You could easily multi-select as many files to process at the same time and import them simultaneously. It would be a good first project for learning how to create plugins.

Happy to provide hints if you get stuck. Otherwise as you said, you can use calibre.

Last edited by KevinH; 03-07-2026 at 10:59 AM.
KevinH is online now   Reply With Quote