From 0232ce3ad0f9d0b1636b0295a01554b434ae89cf Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Wed, 4 May 2016 22:10:34 +0900 Subject: [PATCH] (www-format-encode-string): Display "&A-IWDSU+xxxx;". --- cwiki-common.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cwiki-common.el b/cwiki-common.el index 326fa7f..f7c2269 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -1032,6 +1032,17 @@ style=\"vertical-align:middle; width: 48px; height: 48px\">" t 'literal)) (goto-char (point-min)) + (while (re-search-forward "&A-IWDSU\\+\\([0-9A-F]+\\);" nil t) + (setq code (string-to-int (match-string 1) 16)) + (replace-match + (format "\"A-IWDSU+%04x\"" + code + code + www-format-char-img-style) + t 'literal)) + + (goto-char (point-min)) (while (re-search-forward "&U-v\\([0-9]+\\)\\+\\([0-9A-F]+\\);" nil t) (setq plane (string-to-int (match-string 1)) code (string-to-int (match-string 2) 16)) -- 1.7.10.4