Commit d55d07af authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/net/shr.el (shr-insert-document): Explain why bidi-display-reordering

parent 5761e900
Pipeline #10246 passed with stages
in 13 minutes and 27 seconds
......@@ -313,6 +313,11 @@ DOM should be a parse tree as generated by
(* (frame-char-width) 2))
(max-specpdl-size max-specpdl-size)
;; `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 :-(
;; Adjust for max width specification.
(when (and shr-max-width
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment