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

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

[emacs-wiki-discuss] pre tag lead-in


From: Trent Buck
Subject: [emacs-wiki-discuss] pre tag lead-in
Date: Sun, 20 Feb 2005 04:49:29 +1100

It appears that Gecko (firefox, mozilla et al) and probably others,
treat <pre> differently in `html' and `xml' mode.  Namely

        "<pre>\nfoo\nbar\n</pre>"

becomes

        "foo\nbar"

in HTML mode and 

        "\nfoo\nbar"

in XML mode.

The attached patch removes leading newlines from <example> and <src>
tags during publication.

-- 
-trent
"I'm not a liberal, I'm a militant radical."
"A radical is nothing but a liberal with a big mouth. And a militant
radical is nothing but a big-mouthed liberal with a Che costume."

Attachment: pre-tag-leadin.patch
Description: Text document


reply via email to

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