[EMAIL PROTECTED] (Björn Lindström) writes:

> An image can't occur directly in the body of an XHTML document. However,
> this is what Muse produces if I put an image alone in a paragraph.
>
> Behold the validator complaints: http://xrl.us/icuh

Adding the following to your .emacs should make pages validate, although they
may look funny.

(eval-after-load "muse-html"
  '(mapc (lambda (p)
           (setcdr (assoc (car p) muse-html-markup-strings) (cadr p)))
         '((image-with-desc "<div><img src=\"%s\" alt=\"%s\"></div>")
           (image-link      "<div><img src=\"%s\" alt=\"\"></div>")
           (url-with-image
            "<div><a class=\"image-link\" href=\"%s\"><img 
src=\"%s\"></a></div>")))

HTH, HAND
-- 
Trent Buck, Student Errant


_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to