Subject: bug#60247: 28.2; incorrect highlighting in HTML+ mode

From: Vincent Lefevre <[email-masked]>
Date: Thu, 22 Dec 2022 10:53:07 +0100

On 2022-12-22 09:47:43 +0200, Eli Zaretskii wrote:
> > Date: Thu, 22 Dec 2022 02:51:32 +0100
> > From: Vincent Lefevre <[email-masked]>
> > 
> > 1. Open file.html with "emacs -Q file.html".
> > 2. Go to the end of the file.
> > 
> > In the paragraph starting with
> > 
> > <p>The first version of unums, formally known as Type I unum, was introduced in Gustafson's book <i>The End of Error</i> as a superset
> > 
> > everything from "'s book" is highlighted in a different color.
> 
> HTML Mode evidently considers what follows the apostrophe to be a
> string.  Replacing the literal apostrophe with &#39; fixes the
> display.

Perhaps, but HTML mode's behavior is surprisingly inconsistent:
on a case with some earlier text removed, this behavior no longer
occurs.

-- 
Vincent Lefèvre <[email-masked]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)