(www-format-encode-string): Display "&A-GT-Kddddd;" entity references.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 13 Sep 2016 08:14:13 +0000 (17:14 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 13 Sep 2016 08:14:13 +0000 (17:14 +0900)
cwiki-common.el

index 91eaa9f..6cb9d19 100644 (file)
@@ -1086,7 +1086,7 @@ style=\"%s\">"
             t 'literal))
 
          (goto-char (point-min))
             t 'literal))
 
          (goto-char (point-min))
-         (while (re-search-forward "&\\(G-\\)?GT-K\\([0-9]+\\);" nil t)
+         (while (re-search-forward "&\\(A-\\|G-\\)?GT-K\\([0-9]+\\);" nil t)
            (setq code (string-to-int (match-string 2)))
            (replace-match
             (format "<img alt=\"GT-K%05d\" src=\"%s?char=GT-K%05d\"
            (setq code (string-to-int (match-string 2)))
            (replace-match
             (format "<img alt=\"GT-K%05d\" src=\"%s?char=GT-K%05d\"