From: MORIOKA Tomohiko Date: Wed, 4 May 2016 13:10:34 +0000 (+0900) Subject: (www-format-encode-string): Display "&A-IWDSU+xxxx;". X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fest.git;a=commitdiff_plain;h=0232ce3ad0f9d0b1636b0295a01554b434ae89cf;hp=24ddc0e43917e7c445be0a1ddd92dd482415f52e (www-format-encode-string): Display "&A-IWDSU+xxxx;". --- 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))