(empty log message)
@@ -28,6 +28,11 @@ | ||
28 | 28 | ;; |
29 | 29 | ;; |
30 | 30 | ;; ChangeLog: |
31 | +;; [0.9.5] | |
32 | +;; 1. Fixed bug: perdoc-mode inserts illegal <a href=... />key</a> sequence. | |
33 | +;; incorrect: <a href=... />key</a> | |
34 | +;; correct: <a href=... >key</a> | |
35 | +;; | |
31 | 36 | ;; [0.9.4] |
32 | 37 | ;; 1. Fixed some bugs. |
33 | 38 | ;; 2. Added predoc-open-alink() function ( and bind to C-m key ) |
@@ -329,7 +334,7 @@ | ||
329 | 334 | attr-alist))) |
330 | 335 | nil) |
331 | 336 | |
332 | - ;; <a ... /> ... </a> | |
337 | + ;; <a ... > ... </a> | |
333 | 338 | (,_alink-elem-pattern |
334 | 339 | 1 |
335 | 340 | predoc-alink-face) |
@@ -467,7 +472,7 @@ | ||
467 | 472 | (str (match-string 2))) |
468 | 473 | (delete-region (match-beginning 1) (match-end 2)) |
469 | 474 | (goto-char (match-beginning 1)) |
470 | - (insert (format "<a href=\"%s\" />%s</a>" url str)))) | |
475 | + (insert (format "<a href=\"%s\" >%s</a>" url str)))) | |
471 | 476 | ;; http://host/path/of/contents... |
472 | 477 | ((string-match (concat "^" _url-pattern) str) |
473 | 478 | (re-search-forward _url-pattern (point-at-eol) t) |
@@ -477,7 +482,7 @@ | ||
477 | 482 | "NoTitle"))) |
478 | 483 | (delete-region (match-beginning 1) (match-end 1)) |
479 | 484 | (goto-char (match-beginning 1)) |
480 | - (insert (format "<a href=\"%s\" />%s</a>" url title))) | |
485 | + (insert (format "<a href=\"%s\" >%s</a>" url title))) | |
481 | 486 | (message "Predoc: Please install emacs-w3m."))) |
482 | 487 | (t |
483 | 488 | (message "Predoc: <a> link format is URL_or_FILENAME STRING' . ")))))) |