View Single Post
Old 12-07-2024, 10:55 AM   #2
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Odd. In my Calibre editor that works just fine.

A couple of thoughts, though (could just be typos). First, you should close your <br> tags. IOW, <br/>, not just <br>. Second, are you sure all your <h1></h1> tags will be on the same line? Because, as written, your search string won't find multiple line <h1>s. And, third (possibly related to the problem you're seeing), do you have the "Dot All" box checked at the bottom of the editor screen? With it unchecked, it works as you want for single line <h1>s. With it checked, it'll pick up multiple line <h1>s, but also those <h1>s without a <br/> and stretch the selection to the next </h1>.
enuddleyarbl is offline   Reply With Quote