all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: 37397@debbugs.gnu.org
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	[thread overview]
Message-ID: <874l1go2td.fsf@mm.st> (raw)
In-Reply-To: <m2a7b87b6a.fsf@gmail.com> (Robert Pluim's message of "Fri, 13 Sep 2019 12:17:17 +0200")

Robert Pluim <rpluim@gmail.com> čálii:

> The source html is incorrect: it should have written those '<' as
> '&lt;'. <pre> 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 – and even
MDC's example on <pre> 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.





  reply	other threads:[~2019-09-13 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13  9:44 bug#37397: 26.2; less-than-character cuts off end of pre tag in eww Kevin Brubeck Unhammer
2019-09-13 10:17 ` Robert Pluim
2019-09-13 11:25   ` Kevin Brubeck Unhammer [this message]
2019-09-13 12:12     ` Robert Pluim
2019-09-13 12:36       ` Noam Postavsky
2019-09-13 12:45         ` Kevin Brubeck Unhammer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l1go2td.fsf@mm.st \
    --to=unhammer@fsfe.org \
    --cc=37397@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.