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:
6d278f1
)
(www-edit-display-feature-input-box): Escape <">.
author
MORIOKA Tomohiko
<tomo@kanji.zinbun.kyoto-u.ac.jp>
Fri, 19 Mar 2010 05:49:19 +0000
(14:49 +0900)
committer
MORIOKA Tomohiko
<tomo@kanji.zinbun.kyoto-u.ac.jp>
Fri, 19 Mar 2010 05:49:19 +0000
(14:49 +0900)
cwiki-edit.el
patch
|
blob
|
history
diff --git
a/cwiki-edit.el
b/cwiki-edit.el
index
f33c550
..
f58bd94
100644
(file)
--- a/
cwiki-edit.el
+++ b/
cwiki-edit.el
@@
-71,9
+71,17
@@
size=\"64\" maxlength=\"256\" value=\"%s\">
"0x"
"")
format
- (www-format-value char feature-name
- (www-char-feature char feature-name)
- format 'without-tags)))
+ (mapconcat (lambda (c)
+ (cond
+ ;; ((eq c ?<) "&lt;")
+ ;; ((eq c ?>) "&gt;")
+ ((eq c ?") """)
+ (t
+ (char-to-string c))))
+ (www-format-value char feature-name
+ (www-char-feature char feature-name)
+ format 'without-tags)
+ "")))
)
(defun www-edit-display-char-desc (uri-char uri-feature-name