Bug Tracker

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11262 closed bug (duplicate)

Linebreaks are removed after .text() usage.

Reported by: Somebi Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

Some strange behavior of .text() method. Linebreaks are removed in IE7/8 and after using .innerText text assigning in Google Chrome linebreaks are removed as well.

http://jsfiddle.net/XtPpX/6/

Change History (2)

comment:1 Changed 4 years ago by sindresorhus

  • Component changed from unfiled to misc
  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 Changed 4 years ago by sindresorhus

Duplicate of #11153.

Note: See TracTickets for help on using tickets.