From b406665df12664a3e7048f93f192a488a14058f2 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 28 Dec 2015 18:11:56 +0100 Subject: [PATCH] Always reset the bidi direction * eww.el (eww-display-html): Always reset the bidi direction to `left-to-right' (bug#22257). --- lisp/net/eww.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 5755a942ebe..d4555772e9a 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -401,6 +401,7 @@ Currently this means either text/html or application/xhtml+xml." (source (and (null document) (buffer-substring (point) (point-max))))) (with-current-buffer buffer + (setq bidi-paragraph-direction 'left-to-right) (plist-put eww-data :source source) (plist-put eww-data :dom document) (let ((inhibit-read-only t) -- 2.39.5