From 533733f36fd44104199cc43d207357024b1a9c9b Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 7 Jun 2016 14:30:06 +0900 Subject: [PATCH] (www-format-encode-string): Add "tooltip" and "tooltiptext" for HNG images. --- cwiki-common.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cwiki-common.el b/cwiki-common.el index 8777b1f..55ebc56 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -980,12 +980,18 @@ style=\"vertical-align:middle\">" (char-to-string (decode-char 'ascii (+ 96 subcode))))) (replace-match (format - "\"HNG%s-%04d%s\"" + "
\"HNG%s-%04d%s\"%s
" plane code subcode chise-wiki-hng-bitmap-glyphs-url plane code subcode - www-format-char-img-style) + (charset-description + (car (find (format "HNG%s-" plane) + coded-charset-entity-reference-alist + :test (lambda (key cell) + (string= key (nth 1 cell)))))) + ) t 'literal)) (goto-char (point-min)) -- 1.7.10.4