From 0f494760d3344201f0c01723c246ba0ad2d15d90 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 11 Apr 2021 09:35:09 +0300 Subject: [PATCH] ; * lisp/net/shr.el (shr-insert-document): Fix last change. --- lisp/net/shr.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/net/shr.el b/lisp/net/shr.el index d1544764404..7c15eb1ca0b 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -316,8 +316,9 @@ DOM should be a parse tree as generated by ;; `bidi-display-reordering' is supposed to be only used for ;; debugging purposes, but Shr's naïve filling algorithm ;; cannot cope with the complexity of RTL text in an LTR - ;; paragraph, when a long line has been continued, so... - ;; this is the best we could do :-( + ;; paragraph, when a long line has been continued, and for + ;; most scripts the character metrics don't change when they + ;; are reordered, so... this is the best we could do :-( bidi-display-reordering) ;; Adjust for max width specification. (when (and shr-max-width -- 2.39.5