Closed
Bug 176861
Opened 22 years ago
Closed 22 years ago
DOS CRLF's inside <script> and <style> tags become 2 linebreaks
Categories
(Core :: DOM: Serializers, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 159615
People
(Reporter: brian, Assigned: harishd)
Details
(Keywords: testcase)
Attachments
(2 files)
Win2k, build 2002102508.
It appears that with linebreaks in DOS/Windows formatted files, both the CR and
LF are seen as seperate newlines, so when you edit a DOS formatted file in
Composer, all newlines in <style> and <script> tags are doubled.
This occurs with both the "Retain original formatting" and "Reformat HTML
source" settings.
This has to do with nsHTMLContentSerializer::AppendToStringConvertLF, although
it might actually be the Parser's fault.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Edit in Composer and click HTML source tab.
Compare result with previous.
Comment 3•22 years ago
|
||
*** This bug has been marked as a duplicate of 159615 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•