(www-format-encode-string): Use "http://mojikiban.ipa.go.jp/MJ%06d.png"
authorMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 17 Jul 2018 11:35:01 +0000 (20:35 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 17 Jul 2018 11:35:01 +0000 (20:35 +0900)
instead of "http://mojikiban.ipa.go.jp/search/MJ%06d".

cwiki-common.el

index 7cda6e6..004fd46 100644 (file)
@@ -1045,7 +1045,7 @@ style=\"vertical-align:middle\">"
          (while (re-search-forward "&\\(A-\\|o-\\|G-\\|g2-\\|R-\\)?MJ\\([0-9]+\\);" nil t)
            (setq code (string-to-int (match-string 2)))
            (replace-match
-            (format "<img alt=\"MJ%06d\" src=\"http://mojikiban.ipa.go.jp/search/MJ%06d\"
+            (format "<img alt=\"MJ%06d\" src=\"http://mojikiban.ipa.go.jp/MJ%06d.png\"
 style=\"vertical-align:middle; width: 48px; height: 48px\">"
                     code
                     code