all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 37009@debbugs.gnu.org, nick.m.daly@gmail.com
Subject: bug#37009: EWW Gets Confused on Invalid HTML
Date: Tue, 13 Aug 2019 21:13:46 +0300	[thread overview]
Message-ID: <83d0h9rl0l.fsf@gnu.org> (raw)
In-Reply-To: <855zn12bnu.fsf@gmail.com> (message from Noam Postavsky on Tue, 13 Aug 2019 13:55:01 -0400)

> From: Noam Postavsky <npostavs@gmail.com>
> Date: Tue, 13 Aug 2019 13:55:01 -0400
> Cc: 37009@debbugs.gnu.org
> 
> > Unfortunately, the page does not escape the less-than symbol before "xs"
> > on the second line, so the "<-" (and several more characters) aren't
> > displayed.
> 
> I'm not sure how feasible it will be to fix this at all.  Eww relies on
> libxml for parsing, and it's not as flexible as a typical web browser:
> 
>     (with-temp-buffer
>       (insert "<html>
>       <body>abc <- xyz<body>
>     </html>")
>       (libxml-parse-html-region (point-min) (point-max)))
> 
>     ;=> (html nil (body nil "abc\n"))

Maybe we should report this to libxml developers and hear their
opinion?





  reply	other threads:[~2019-08-13 18:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12  0:04 bug#37009: EWW Gets Confused on Invalid HTML Nick Daly
2019-08-13 17:55 ` Noam Postavsky
2019-08-13 18:13   ` Eli Zaretskii [this message]
2019-08-13 18:45     ` Lars Ingebrigtsen
2019-09-14 14:08       ` Lars Ingebrigtsen

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=83d0h9rl0l.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=37009@debbugs.gnu.org \
    --cc=nick.m.daly@gmail.com \
    --cc=npostavs@gmail.com \
    /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.