From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kevin Brubeck Unhammer Newsgroups: gmane.emacs.bugs Subject: bug#37397: 26.2; less-than-character cuts off end of pre tag in eww Date: Fri, 13 Sep 2019 13:25:50 +0200 Message-ID: <874l1go2td.fsf@mm.st> References: <87pnk4o7hk.fsf@trigram.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="225723"; mail-complaints-to="usenet@blaine.gmane.org" To: 37397@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 13 13:26:29 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i8jic-000wYN-JG for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 13:26:27 +0200 Original-Received: from localhost ([::1]:42594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8jib-0001gC-7Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 07:26:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44945) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8jiF-0001ec-Ra for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:26:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8jiE-0007jA-OA for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8jiE-0007il-It for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8jiE-0003Bk-EX for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Brubeck Unhammer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2019 11:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37397 X-GNU-PR-Package: emacs Original-Received: via spool by 37397-submit@debbugs.gnu.org id=B37397.156837396112249 (code B ref 37397); Fri, 13 Sep 2019 11:26:02 +0000 Original-Received: (at 37397) by debbugs.gnu.org; 13 Sep 2019 11:26:01 +0000 Original-Received: from localhost ([127.0.0.1]:44444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8jiC-0003BU-Sk for submit@debbugs.gnu.org; Fri, 13 Sep 2019 07:26:01 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8jiB-0003BG-DF for 37397@debbugs.gnu.org; Fri, 13 Sep 2019 07:25:59 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2CB5721CDA; Fri, 13 Sep 2019 07:25:54 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 13 Sep 2019 07:25:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=TnGJHF7peyhFlEOB/udeUZSY/c5x56IYF/KswvFjE mg=; b=lhsZ320Dw2/lAmBU0sgu+lmOCNW0o47K0u42YMgKFjxMomfKSAFKlVJjA kcaH1ZfqV6ws8sfQpI3fBts58Ra3G9XzntIvXXjKcSoARbg7VAL3J5Xm3wpPlbK/ ciIEoPfMC3/LABPlCtBAY+kh/dWvXLSQ4c207Z1FFxQ5cxvFKqSXna/DYrPQt5LT It6zsK91ahQJTnZ4rlbKO+18Jv4ZEggAJkIw/iL3fGLlAQgrdyVZZPpW6dIaT41U au8E8gyExbsD7woFoKwwPZOuoUzrS9VmN+1ngduTRSIpdcB78sJ1s/irnF9lg0m8 xnBkVCX/ApoEErbovqotw+doM1Rtw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrtdejgdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfggtgfgsehtqhertd dttdejnecuhfhrohhmpefmvghvihhnuceurhhusggvtghkucgfnhhhrghmmhgvrhcuoehu nhhhrghmmhgvrhesfhhsfhgvrdhorhhgqeenucffohhmrghinhepmhhoiihilhhlrgdroh hrghenucfrrghrrghmpehmrghilhhfrhhomhepuhhnhhgrmhhmvghrsehfshhfvgdrohhr ghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: In-Reply-To: (Robert Pluim's message of "Fri, 13 Sep 2019 12:17:17 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166392 Archived-At: Robert Pluim =C4=8D=C3=A1lii: > The source html is incorrect: it should have written those '<' as > '<'.
 does not mean 'anything goes'.

It does show up "correctly" in Firefox and Chromium though. With a
string such as "<)" (or perhaps "<" followed by anything other than
[a-zA-Z/]), it's obviously not a tag of any sort, so why not just print
it literally? I've noticed the problem on other pages as well =E2=80=93 and=
 even
MDC's example on 
 usage has literal angle brackets:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#Example_2
though eww shows those just fine.

Although looking at shr, it seems it calls to libxml-parse-html-region,
so I suppose it's not something easily fixed on the Emacs side anyway.