Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6146 closed bug (duplicate)

.text() strips newlines in Internet Explorer

Reported by: vdboor Owned by:
Priority: Milestone: 1.4.2
Component: attributes Version: 1.4.1
Keywords: text Cc:
Blocked by: Blocking:


jQuery's .text() function strips newlines in Internet Explorer 6-8. The innerText property does return the proper value. This does not happen in Firefox.

Example HTML code:

  test 9

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: duplicate
Status: newclosed

Duplicate of #3144.

Note: See TracTickets for help on using tickets.