[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EWW: Should Not Display XML PI

From: Lars Ingebrigtsen
Subject: Re: EWW: Should Not Display XML PI
Date: Tue, 24 Sep 2019 16:37:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"T.V Raman" <address@hidden> writes:

> See attached file, it's a simple HTML file, but with the XML
> Declaration at the top --- after updating Emacs from Git@Head, EWW now
> displays the XML PI when the HTML is rendered.

I'm unable to reproduce this bug.

If I call libxml-parse-html-region (which eww uses) on the text below:

<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Dont Display XML PI</title></head>
<body><p>This is a test.</p></body></html>

I get:

(html nil (head nil (title nil "Dont Display XML PI")) (body nil (p nil "This 
is a test.")))

without any of the XML stuff.

What do you get here?

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]