(www-format-encode-string): Display "&A-cgnU+hhhh;".
authorMORIOKA Tomohiko <tomo.git@chise.org>
Wed, 31 Jan 2018 07:58:30 +0000 (16:58 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Wed, 31 Jan 2018 07:58:30 +0000 (16:58 +0900)
cwiki-common.el

index b5ca522..441699f 100644 (file)
@@ -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 "<img alt=\"u%04x\" src=\"http://glyphwiki.org/glyph/u%04x.100px.png\"
 style=\"vertical-align:middle; width: 48px; height: 48px\">"