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)

x86
Windows 2000
defect
Not set
normal

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.
Edit in Composer and click HTML source tab. Compare result with previous.
Keywords: testcase
*** This bug has been marked as a duplicate of 159615 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: