GNOME Bugzilla – Bug 55459
saving a .txt file will save in html
Last modified: 2004-12-22 21:47:04 UTC
Basically what happens is that galeon will save a .txt file with html/pre wrappers, even if it is not an html file with that code in it. It looks like it's using the internal renderer structure and dumping it to file, instead of using the original (??). To reproduce: Go to the URL http://www.muppetlabs.com/~breadbox/software/tiny/hello.asm.txt File->save as Edit the file and notice the top line containing <html><head>, etc. Repeat with the latest mozilla nightly and notice that it saves text properly. Definately mozilla has the desired results, as people such as myself are downloading non-html files off the net and having those files contents change is a bad thing. Netscape 4.x deals with this by having a "save as type" dropdown that has the following choices for this file: source/text/postscript, and translates the source to whatever format the user chooses on the way to the disk.
mozilla bug. it may worth a post on bugzilla.mozilla.org. We are using nsIWebBrowserPersist
hmm, it was us using a slightly wierd way of saving the file, its now fixed in cvs, go chek it out and close this one :)
Looks like this is fixed now, thanks!