|
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.
|