@democrite...When I initially copy all your epub html files to be worked on by my plugin I use bk.text_iter() to fetch the files and use bk.readfile() to read the files into data. Then I run the data from each file through BeautifulSoup in the normal way. And it is there that your html layout will get changed -- it's not my plugin code that deliberately changes your html layout. And since I have no control over that, it is for that reason that I cannot "leave your html layout alone". That's also the reason why I usually always reformat the html output layout to look like it does after you run Tools > Reformat HTML > Mend and prettify... which, as I've already mentioned, helps to standardize the html output layout for each file(which most plugin users seem to prefer anyway).
Last edited by slowsmile; 07-11-2020 at 12:16 AM.
|