bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#39867: 26.3; EWW does not show textarea content


From: Lars Ingebrigtsen
Subject: bug#39867: 26.3; EWW does not show textarea content
Date: Fri, 17 Jul 2020 16:44:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Xu Chunyang <xuchunyang56@gmail.com> writes:

> I notice EWW doesn't show the textarea element's contents, for example,
> save the following to a.html
>
>     <textarea>HELLO</textarea>
>
> then 'M-x eww-open-file a.html' shows some empty lines without any text.
>
> The following patch fixes the issue for me. And the old code seems
> assuming <textarea value='HELLO'></textarea>, which is not correct.

[...]

> - (value (or (dom-attr dom 'value) ""))
> + (value (or (dom-text dom) ""))

Thanks; applied to Emacs 28.1.

-- 
(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]