GNU bug report logs - #60247
28.2; incorrect highlighting in HTML+ mode

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Thu, 22 Dec 2022 01:53:01 UTC

Severity: minor

Found in version 28.2

Full log


Message #11 received at 60247 <at> debbugs.gnu.org (full text, mbox):

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 60247 <at> debbugs.gnu.org
Subject: Re: bug#60247: 28.2; incorrect highlighting in HTML+ mode
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 <vincent <at> 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 &#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 <vincent <at> 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)




This bug report was last modified 1 year and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.