View Single Post
Old 06-10-2021, 02:17 PM   #65
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,708
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
The problem only seems to happen with hr tags that are single. I wonder if the code is seeing a two character tag starting with h and getting confused with it and headers?
That's exactly what's happening.

https://github.com/Sigil-Ebook/Sigil...ndow.cpp#L3701

https://github.com/Sigil-Ebook/Sigil...ndow.cpp#L5073

I'm just not certain why tab->GetCaretElementName() seems to be returning hr when the cursor is clearly outside of the hr tag.

Last edited by DiapDealer; 06-10-2021 at 02:30 PM.
DiapDealer is online now   Reply With Quote