Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007230 [Squeak] Files minor always 11-24-08 16:59 11-24-08 16:59
Reporter timj View Status public  
Assigned To cdegroot
Priority normal Resolution open  
Status assigned   Product Version 3.10.2
Summary 0007230: FileStream>>writeSourceCodeFrom:baseName:isSt:useHtml: saves plaintext as HTML
Description The code in FileStream>>writeSourceCodeFrom:baseName:isSt:useHtml: responds to a #true value for useHtml: by simply adding '.html' to its output file, without actually creating a properly-formed HTML file. This means that the resulting file, when opened in a web browser, displays with no line feeds and is ugly.

This method is most notably called from a Browser by choosing "printOut" from the class pane menu (which calls Browser>>printOutClass, which calls Class>>fileOutAsHtml, which ultimately calls FileStream>>writeSourceCodeFrom:baseName:isSt:useHtml:.

Perhaps the #useHtml: value should just be ignored. Then rather than purporting a plaintext file to be an HTML file, the truth shall be known.
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
11-24-08 16:59 timj New Issue
11-24-08 16:59 timj Status new => assigned
11-24-08 16:59 timj Assigned To  => cdegroot
11-24-08 17:00 timj Issue Monitored: timj

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker