From: MORIOKA Tomohiko Date: Wed, 29 Jun 2016 15:18:45 +0000 (+0900) Subject: (www-format-encode-string): Display &{G-|g2-|R-}RUI6-hhhh;. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=854c81964a678fdd81bacd7545265a6e10606cd9;p=chise%2Fest.git (www-format-encode-string): Display &{G-|g2-|R-}RUI6-hhhh;. --- diff --git a/cwiki-common.el b/cwiki-common.el index a720089..91eaa9f 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -1138,8 +1138,8 @@ style=\"%s\">" t 'literal)) (goto-char (point-min)) - (while (re-search-forward "&RUI6-\\([0-9A-F]+\\);" nil t) - (setq code (string-to-int (match-string 1) 16)) + (while (re-search-forward "&\\(G-\\|g2-\\|R-\\)?RUI6-\\([0-9A-F]+\\);" nil t) + (setq code (string-to-int (match-string 2) 16)) (replace-match (format "\"RUI6-%04X\""