emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] [Bug Report][emacs-wiki-publish.el]


From: 赵雷
Subject: [emacs-wiki-discuss] [Bug Report][emacs-wiki-publish.el]
Date: Mon, 27 Dec 2004 21:51:45 +0800

In line 1956 of emacs-wiki-publish.el,
it seems that code
(concat "<img src=\"" name "\">"))
should be
(concat "<img src=\"" name "\"/>"))
                             ~~~
a slash is missing while in other lines there have slashs:

1950    (if (string-match "^\\([^ ]+\\)\\s-+\\(.+\\)" name)
1951        ;; [[image][image2 caption]]
1952        (format "<img src=\"%s\" alt=\"%s\"/>"
1953                (match-string 1 name)
1954                (emacs-wiki-escape-html-string (match-string 2 name)))
1955      ;; [[image][image2]]
1956      (concat "<img src=\"" name "\">"))
1957  ;; [[image][caption]]
1958  (if (and url (string-match emacs-wiki-image-regexp url))
1959      (format "<img src=\"%s\" alt=\"%s\"/>"
1960             url (emacs-wiki-escape-html-string name))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]