Quote:
Originally Posted by kovidgoyal
THere isnt any such tool, though I dont really understand why you need it. All such a tool would do is mostly just wrap blocks in <p> or <div> tags ( dont recall the details).
|
I want to use a Search & Replace regex that relies on the comments to be in HTML to add some structure and styling to them in bulk. It doesn’t work well for plain text comments so I intended to HTML-ize them as a prior step.
I’m thinking that I would be better coding a more complex template that takes plain text comments into account. Just more work, I’m afraid.
PS: I know it’s not a big problem, it just seems inconsistent to me that the calibre database may store imported comments without styles both in HTML code and in plain text just because you edited them in the GUI metadata editor or not.