From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim 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 14:12:20 +0200 Message-ID: References: <87pnk4o7hk.fsf@trigram.no> <874l1go2td.fsf@mm.st> 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="156185"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37397@debbugs.gnu.org To: Kevin Brubeck Unhammer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 13 14:13:21 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 1i8kS0-000eVA-D0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 14:13:20 +0200 Original-Received: from localhost ([::1]:43206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8kRz-0004Go-1l for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 08:13:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8kRm-0004D5-Kb for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 08:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8kRl-0008Lr-FI for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 08:13:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35674) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8kRl-0008Ld-14 for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 08:13:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8kRi-00024y-GD for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 08:13:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2019 12:13: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.15683767517954 (code B ref 37397); Fri, 13 Sep 2019 12:13:02 +0000 Original-Received: (at 37397) by debbugs.gnu.org; 13 Sep 2019 12:12:31 +0000 Original-Received: from localhost ([127.0.0.1]:44495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8kRC-00024D-Ru for submit@debbugs.gnu.org; Fri, 13 Sep 2019 08:12:31 -0400 Original-Received: from mail-wm1-f45.google.com ([209.85.128.45]:39984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8kRB-00023z-N3 for 37397@debbugs.gnu.org; Fri, 13 Sep 2019 08:12:30 -0400 Original-Received: by mail-wm1-f45.google.com with SMTP id m3so2520425wmc.5 for <37397@debbugs.gnu.org>; Fri, 13 Sep 2019 05:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=OEYCav21oz0o4y2uVQHfe0eoCYpxtS7ShmCwcGDb9qQ=; b=rDEJOhLQD4j0tP5bLI3fjDxuBxhVFffRcyYdkUohMA6XlRh1NTFHhjzwX6/n/jd63G 4j8fxDDaUdf0KaLHvb8LaBpkitpSFAI3aScEdOeyAa2BFpOcO7K2PwP+VyesGw1+MDkm c09NTaHFKtI3ftxcfayhasd5RzF90U2h9MdCuW7K1G7CeVztmxoXjTJACgXzMVRdBUdh eXJxhE3l1hm7hEhekrc8YGjzq8LHpar/QtbDkCfqP8yfsPJhXVIruhv/wujDMvH23S45 8I9mEokI+HVFi1ZB4WgwA58UZMwGup7tZGuxQG5Z3kPPBCxC0N2PSCIm6LG2ipSl8ac/ AhBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=OEYCav21oz0o4y2uVQHfe0eoCYpxtS7ShmCwcGDb9qQ=; b=SvoZKUablBr0IOnLigWvI+pIjerwy7i6jk/ajS/mTHLSJXMVYBHA9pDCxd9jele+fx BsMjvBacRc+wJO7gifNTF2p+FWG/Xa+ITFG3dm+Jcf5dNUsOlHsx87uxicVBg9YQer+s EOWDSNkTFmhQFtB8n37WgrstrV6Qx/fmb62HyfA70rURp/3XS03KxyFtDp+XX4aa/bNi b3HcONTzGfE/WuWrFEMtwwH5tETpFO9QEwaYSzlt4Jetlx409ou6GPmktoHk/4hNr0FE lssV8Kmm+52MZqWqHzf0rjTC67hrTBxadRwTfogP9It8Ffda5eHnGpMuSSM/xNeSare7 4BsA== X-Gm-Message-State: APjAAAWuZ68CGOipBILErSVPYo58l5JxRDDBvh3fzZYWYA8LgsjCAaGj e2wvlHg3Qk4vIzjTsoRkzZqrR0ZT X-Google-Smtp-Source: APXvYqzK96ppM6+gqWKJSnljH7Bie29q9OJBLpGaIrc2S3/+SpnVSh7tAtxBpaWXOb5a6Ls0wkb0Rg== X-Received: by 2002:a1c:4088:: with SMTP id n130mr1113168wma.84.1568376742977; Fri, 13 Sep 2019 05:12:22 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id b16sm42574290wrh.5.2019.09.13.05.12.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 05:12:21 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <874l1go2td.fsf@mm.st> (Kevin Brubeck Unhammer's message of "Fri, 13 Sep 2019 13:25:50 +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:166397 Archived-At: >>>>> On Fri, 13 Sep 2019 13:25:50 +0200, Kevin Brubeck Unhammer said: Kevin> Robert Pluim =C4=8D=C3=A1lii: >> The source html is incorrect: it should have written those '<' as >> '<'.
 does not mean 'anything goes'.

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

It does, but those angle brackets are balanced, which is not the case
for your example.

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

Not really. Perhaps you could ask the libxml developers what they
think.

Robert