[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60247: 28.2; incorrect highlighting in HTML+ mode
From: |
Vincent Lefevre |
Subject: |
bug#60247: 28.2; incorrect highlighting in HTML+ mode |
Date: |
Thu, 22 Dec 2022 10:53:07 +0100 |
User-agent: |
Mutt/2.2.9+60 (9917c0ea) vl-149028 (2022-12-12) |
On 2022-12-22 09:47:43 +0200, Eli Zaretskii wrote:
> > Date: Thu, 22 Dec 2022 02:51:32 +0100
> > From: Vincent Lefevre <vincent@vinc17.net>
> >
> > 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 ' 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 <vincent@vinc17.net> - 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)