• R/O
  • SSH
  • HTTPS

predoc: コミット


コミットメタ情報

リビジョン134 (tree)
日時2007-10-10 00:04:29
作者kiyoka

ログメッセージ

(メッセージはありません)

変更サマリ

差分

--- predoc/trunk/src/predoc-mode.el (revision 133)
+++ predoc/trunk/src/predoc-mode.el (revision 134)
@@ -28,6 +28,11 @@
2828 ;;
2929 ;;
3030 ;; 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+;;
3136 ;; [0.9.4]
3237 ;; 1. Fixed some bugs.
3338 ;; 2. Added predoc-open-alink() function ( and bind to C-m key )
@@ -329,7 +334,7 @@
329334 attr-alist)))
330335 nil)
331336
332- ;; <a ... /> ... </a>
337+ ;; <a ... > ... </a>
333338 (,_alink-elem-pattern
334339 1
335340 predoc-alink-face)
@@ -467,7 +472,7 @@
467472 (str (match-string 2)))
468473 (delete-region (match-beginning 1) (match-end 2))
469474 (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))))
471476 ;; http://host/path/of/contents...
472477 ((string-match (concat "^" _url-pattern) str)
473478 (re-search-forward _url-pattern (point-at-eol) t)
@@ -477,7 +482,7 @@
477482 "NoTitle")))
478483 (delete-region (match-beginning 1) (match-end 1))
479484 (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)))
481486 (message "Predoc: Please install emacs-w3m.")))
482487 (t
483488 (message "Predoc: <a> link format is URL_or_FILENAME STRING' . "))))))
旧リポジトリブラウザで表示