From: Eli Zaretskii Date: Sun, 11 Apr 2021 06:35:09 +0000 (+0300) Subject: ; * lisp/net/shr.el (shr-insert-document): Fix last change. X-Git-Tag: emacs-28.0.90~2917 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f494760d3344201f0c01723c246ba0ad2d15d90;p=emacs.git ; * lisp/net/shr.el (shr-insert-document): Fix last change. --- 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