From: MORIOKA Tomohiko Date: Thu, 1 Apr 2010 11:40:13 +0000 (+0900) Subject: (www-batch-view): Accept "?char=&ENTITY-REFERENCE;". X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f775e7a1b4e8366ccaa9dc87d6b255bb51efd2f;p=chise%2Fest.git (www-batch-view): Accept "?char=&ENTITY-REFERENCE;". --- diff --git a/cwiki-view.el b/cwiki-view.el index 76ce3f3..a389aec 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -238,6 +238,13 @@ size=\;; "30\" maxlength=\"30\" value=\"\" />") ") (cond ((stringp target) + (when (string-match "^char=\\(&[^&;]+;\\)" target) + (setq ret (match-end 0)) + (setq target + (concat "char=" + (www-uri-encode-char + (www-uri-decode-char (match-string 1 target))) + (substring target ret)))) (setq target (mapcar (lambda (cell) (if (string-match "=" cell)