PRE innerText does not preserve trailing \r\n

Confirmed Issue #8337779 • Assigned to Arthur B.

Details

Author
David R.
Created
Jul 31, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
13.10586
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

<!DOCTYPE html>
<html>
<pre id=REP >
Line1
</pre>
<script>
var rep = document.getElementById(‘REP’);
rep.innerText = rep.innerText + ‘Line2’ + '\r\n’;
rep.innerText = rep.innerText + ‘Line3’ + '\r\n’;
</script>
</html>

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Ibrahim O.” to “James M.”

      Changed Assigned To from “James M.” to “Travis L.”

    • Hello,

      Thank you for providing this information about the issue. We have confirmed the problem, and we are working on a solution for a future build of Edge. We will update this case ticket once we have released the solution.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To from “Travis L.” to “Arthur B.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in