View Single Post
Old 09-18-2024, 01:47 PM   #8
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 276
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by KevinH View Post
Yes, those error messages are not generated by Sigil. They are generated by the Chrome/QtWebengine browser widget used by Qt. They can not guess where the best "fix" is just where they detect that a "fix" (error) has definitely happened in the first place.

Simple missing < and > chars should also be detectable and reported by using Sigil's simple Well Formed check (aka SanityCheck) in the Validation window. So if in doubt you can get a second opinion.

I assume if a user wanted, instead of using the custom preview injected stylesheet for BeckyEbook's solution the user could simply add that css to their own stylesheet while they debug / build their epubs.
I wondered what generated the error messages. Some are even crappier than the ones I mentioned. I've just seen a missing > in the closing paragraph tag referenced NOT to the next actual character position ie ignoring the Prettify white space BUT to a line/column position of the next but one paragraph.

Certainly, the Well Formed Check provides a correct error position indication but describes the error as "illegal character in text" rather than a missing character or even saying what character it expected to find.
philja is offline   Reply With Quote