projects
/
chise
/
est.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119d3f4
)
(www-format-encode-string): Display "&A-cgnU+hhhh;".
author
MORIOKA Tomohiko
<tomo.git@chise.org>
Wed, 31 Jan 2018 07:58:30 +0000
(16:58 +0900)
committer
MORIOKA Tomohiko
<tomo.git@chise.org>
Wed, 31 Jan 2018 07:58:30 +0000
(16:58 +0900)
cwiki-common.el
patch
|
blob
|
history
diff --git
a/cwiki-common.el
b/cwiki-common.el
index
b5ca522
..
441699f
100644
(file)
--- 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 "<img alt=\"u%04x\" src=\"http://glyphwiki.org/glyph/u%04x.100px.png\"
style=\"vertical-align:middle; width: 48px; height: 48px\">"