Quote:
Originally Posted by Elektron
> is HTML for >. Just replace it with > and you should be good to go
|
Quote:
Originally Posted by Gregg Bell
Thanks Elektron
|
Actually, no. This is not the best approach. The extra angle bracket was changed to an entity precisely
because its inclusion made the xhtml invalid. Changing it back to invalid xhtml will only cause it to be turned back to an entity again. Angle brackets cannot be used in xhtml text when they're not a part of valid (x)html markup
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. If there
doesn't need to be an angle-bracket displayed there, you need to find out what went wrong with the xhtml in the first place. More than likely, the entity can simply be removed. But make no mistake: changing it back to '>' is not the solution to your problem. That will most likely only result in a Pink Preview Error page and a reversion right back to > if you save/open the epub in that error state.