From: Eli Zaretskii Date: Sat, 12 Mar 2016 16:35:26 +0000 (+0200) Subject: Update handling of per Unicode 9.0 X-Git-Tag: emacs-26.0.90~2347 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32a4d2ee2c1a1a8f157ebb2e9b62bc53e74cf4f8;p=emacs.git Update handling of 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. --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index e463c7edaf2..3877719d7a7 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -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