From: MORIOKA Tomohiko Date: Wed, 31 Jan 2018 07:58:30 +0000 (+0900) Subject: (www-format-encode-string): Display "&A-cgnU+hhhh;". X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fest.git;a=commitdiff_plain;h=8ad062e7d36ee7f6fcdbb5d8d46bcb85458855d0 (www-format-encode-string): Display "&A-cgnU+hhhh;". --- 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\""