Closed
Bug 402187
Opened 17 years ago
Closed 17 years ago
When you save a file as 'text' Firefox appears to add a pipe | character to the start and end
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 131166
People
(Reporter: write, Unassigned)
References
()
Details
(Whiteboard: CLOSEME)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 The page mentioned above has a simple HTML file containing the following code: <html><head></head><body><code>test<br>test</code></body></html> If you 'view source' you can confirm this. If you save the page to disk as a text file (File -> Save Page As -> Text Files) then it saves the following: |test test| The pipe characters should not be there as they are not in the original file. Reproducible: Always Steps to Reproduce: See above Actual Results: See above Expected Results: See above
Also happens with Minefield. Only happens when you use the [code] tag. See here: http://forums.mozillazine.org/viewtopic.php?p=3149681#3149681
Version: unspecified → Trunk
As I noted in the above thread this is by design. Certain tags preserve some of the formatting as an important part of the content in the form of extra delimiters. For example: <b> (delimited with *), <em> (delimited with *), <u> (with _), and in this case <code> (delimited with pipe |).
Updated•17 years ago
|
Whiteboard: CLOSEME
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•