Bug Tracker

Ticket #11262 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

Linebreaks are removed after .text() usage.

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


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.


Change History

comment:1 Changed 4 years ago by sindresorhus

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

comment:2 Changed 4 years ago by sindresorhus

Duplicate of #11153.

Note: See TracTickets for help on using tickets.