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/?a=commitdiff_plain;h=0232ce3ad0f9d0b1636b0295a01554b434ae89cf;p=chise%2Fest.git (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))