mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 02:47:36 +00:00
Respect <html dir=auto>
* lisp/net/shr.el (shr-tag-html): Respect the "auto" directional HTML setting.
This commit is contained in:
parent
f71dbb30ee
commit
fc819ea94e
1 changed files with 3 additions and 1 deletions
|
|
@ -1178,7 +1178,9 @@ ones, in case fg and bg are nil."
|
|||
((equal dir "ltr")
|
||||
(setq bidi-paragraph-direction 'left-to-right))
|
||||
((equal dir "rtl")
|
||||
(setq bidi-paragraph-direction 'right-to-left))))
|
||||
(setq bidi-paragraph-direction 'right-to-left))
|
||||
((equal dir "auto")
|
||||
(setq bidi-paragraph-direction nil))))
|
||||
(shr-generic dom))
|
||||
|
||||
(defun shr-tag-body (dom)
|
||||
|
|
|
|||
Loading…
Reference in a new issue