Quote:
Originally Posted by DiapDealer
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 > 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.></p>
But in
some cases, the > might actually be a REAL "greater than symbol". For example, in an equation "x > y+1", the HTML would be:
In that case, the > is correct, because you actually WANT the book to display the "greater than symbol".