Quote:
Originally Posted by KevinH
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.