--- Begin Message ---
Subject: |
RTL HTML causes *Article* buffer to be stuck in RTL mode |
Date: |
Thu, 14 Sep 2017 01:40:41 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
In Gnus v5.13 (GNU Emacs 25.2.1), if I display HTML mails
that start with (cf. attachment for examplary spam):
| <html dir="rtl" […]
the *Article* buffer switches to RTL mode, i. e. all lines,
including headers, are right-aligned. If I subsequently
display a plain text mail (or a HTML mail without "dir" at-
tribute), this state remains, i. e. all lines, including
headers, are still right-aligned.
After killing the *Article* buffer, displaying plain text
mails works as usual again.
277937
Description: Binary data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#28454: RTL HTML causes *Article* buffer to be stuck in RTL mode |
Date: |
Sat, 30 Sep 2017 16:42:34 +0300 |
> From: Tim Landscheidt <address@hidden>
> Date: Tue, 19 Sep 2017 08:22:50 +0000
> Cc: address@hidden
>
> The attached patch against emacs-25 seems to work for me.
> Due to Gnus's undocumentedness, it's a big stab in the dark,
> but it resets bidi-paragraph-direction for all test cases in
> my inbox :-).
Thanks. As there were no comments, I've now pushed this to the
release branch, and I'm marking this bug done.
> * lisp/gnus/gnus-art.el: Reset bidi-paragraph-direction on article rendering
> (Bug#28454).
Please in the future include the name of the modified function(s) (in
parentheses) in the log message.
--- End Message ---