GNU bug report logs - #56482
29.0.50; shr displays <![if !supportLists]>...<![endif]> literally instead of dropping the tags

Previous Next

Package: emacs;

Reported by: Justus-dev <at> Piater.name

Date: Sun, 10 Jul 2022 13:16:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Justus-dev <at> Piater.name
Cc: 56482 <at> debbugs.gnu.org, Visuwesh <visuweshm <at> gmail.com>
Subject: bug#56482: 29.0.50; shr displays <![if !supportLists]>...<![endif]> literally instead of dropping the tags
Date: Mon, 11 Jul 2022 15:04:17 +0200
Justus-dev <at> Piater.name writes:

> Indeed this seems to be a libxml2 regression! I downgraded my libxml to
> libxml2-2.9.13-2 (Arch Linux), and the tags are omitted as they should
> be. I re-upgraded to the current libxml2-2.9.14-1, and the problem is
> back.

I'm starting to wonder...  is 

<![if !bar]>Foo<![endif]>

valid syntax?  It's apparently an MSIE-ism:

https://en.wikipedia.org/wiki/Conditional_comment

A comment is supposed to be <!--, after all.

Perhaps the libxml people have "fixed" the parser to not be MSIE
compatible any more?  Anybody know?  In which case, perhaps shr should
do some pre-processing to remove the <![ things, but that'd be a
bother...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 313 days ago.

Previous Next


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