Commit 32a4d2ee authored by Eli Zaretskii's avatar Eli Zaretskii

Update handling of <bdo> per Unicode 9.0

* lisp/net/shr.el (shr-tag-bdo): Wrap in FSI..PDI as well, per
Unicode 9.0 changes in UAX#9, paragraph 2.7.
parent 63efcc26
......@@ -1689,10 +1689,10 @@ The preference is a float determined from `shr-prefer-media-type'."
((equal direction "rtl")
#x202e)))) ; RLO
(when char
(insert char))
(insert #x2068 char)) ; FSI + LRO/RLO
(shr-generic dom)
(when char
(insert #x202c)))) ; PDF
(insert #x202c #x2069)))) ; PDF + PDI
(defun shr-tag-bdi (dom)
(insert #x2068) ; FSI
......
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