Search ignoring HTML markup finds within <?xml directive and HTML comments
First of all, Kovid, sorry for bothering you with so many bug reports in such a short timespan, I'm testing your ebook-editor as thoroughly as possible.
Calibre 2.74 64bit
Windows 10 Home 64 bit
Search ignoring HTML markup actually finds text within HTML comments (even though this may be by design) but also in the XML declaration (<?xml... ?>). Not a big deal, really, as there's usually not much text within those elements, but I don't think it's proper behaviour. Neither HTML comments nor XML declarations are HTML tags, that's true, but I think it's reasonable to think that users will expect Calibre editor to search only on the book text with using "Search ignoring HTML markup", not only ignoring HTML tags, but also comments and declarations.
For example, it would find the dash or the single quotation marks in the text below:
<?xml version='1.0' encoding='utf-8'?>
Thanks again for Calibre and for your time :)