Closed
Bug 296045
Opened 20 years ago
Closed 20 years ago
Save Page as .txt file does not completely remove <a href="#location"> tags
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 131166
People
(Reporter: cervino, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 SUSE/1.0.4-1
see the example given under reproducibility
Reproducible: Always
Steps to Reproduce:
1. load the test html document given below into firefox.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test</title>
</head>
<body>
<p><a href="#chap02">chapter 2</a></p>
<h2><a name="chap02">chapter 2</a></h2>
</body>
</html>
2. write this document to disc via File >> Save Page As. As file type choose
"text files", i.e., the document is should be converted from html to text.
Actual Results:
This is the contents of the file saved:
chapter 2 <#chap02>
chapter 2
Expected Results:
In the text file, I expect all tags to be completely removed. Hence, the string
"<#chap02>" should be dropped.
See also bug 135239.
*** This bug has been marked as a duplicate of 131166 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•