After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 55459 - saving a .txt file will save in html
saving a .txt file will save in html
Status: RESOLVED FIXED
Product: galeon
Classification: Deprecated
Component: general
0.x
Other Linux
: Normal normal
: ---
Assigned To: Matt Aubury
Matt Aubury
Depends on:
Blocks:
 
 
Reported: 2001-05-30 08:21 UTC by Arcterex
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arcterex 2001-05-30 08:21:58 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.
Comment 1 Marco Pesenti Gritti 2001-05-30 21:25:07 UTC
mozilla bug. it may worth a post on bugzilla.mozilla.org.
We are using nsIWebBrowserPersist
Comment 2 Yanko Kaneti 2001-06-02 21:31:44 UTC
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 :)
Comment 3 Arcterex 2001-06-02 22:48:32 UTC
Looks like this is fixed now, thanks!