From 8ad062e7d36ee7f6fcdbb5d8d46bcb85458855d0 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Wed, 31 Jan 2018 16:58:30 +0900 Subject: [PATCH] (www-format-encode-string): Display "&A-cgnU+hhhh;". --- cwiki-common.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cwiki-common.el b/cwiki-common.el index b5ca522..441699f 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -1064,8 +1064,8 @@ style=\"vertical-align:middle; width: 48px; height: 48px\">" t 'literal)) (goto-char (point-min)) - (while (re-search-forward "&A-compU[+-]\\([0-9A-F]+\\);" nil t) - (setq code (string-to-int (match-string 1) 16)) + (while (re-search-forward "&A-\\(comp\\|cgn\\)U[+-]\\([0-9A-F]+\\);" nil t) + (setq code (string-to-int (match-string 2) 16)) (replace-match (format "\"u%04x\"" -- 1.7.10.4