View Single Post
Old 09-24-2020, 07:58 PM   #11
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by DiapDealer View Post
The correct approach is find out if there NEEDS to be an angle-bracket displayed at that particular point. If so, then it needs to stay as the greater-than entity.
Exactly.

Most likely, what happened is Gregg accidentally had a stray '>' while copying/pasting + searching/replacing. This usually happens when you accidentally do:

Code:
<p>This is a test.</p>
Search: test.
Replace: test.>

Code:
<p>This is a test.></p>
The stray '>' gets changed into &gt; because Sigil says "Hey, this is invalid XHTML, let me fix that for you". So Sigil fixes your invalid code to this:

Code:
<p>This is a test.&gt;</p>
But in some cases, the &gt; might actually be a REAL "greater than symbol". For example, in an equation "x > y+1", the HTML would be:

Code:
x &gt; y+1
In that case, the &gt; is correct, because you actually WANT the book to display the "greater than symbol".

Last edited by Tex2002ans; 09-24-2020 at 08:00 PM.
Tex2002ans is offline   Reply With Quote