Missing empty line when you paste rich text from WordPad into a contentEditable div in Internet Explorer 11

Symptoms
When you paste rich text from WordPad into a contentEditable div in Internet Explorer 11, and the text includes multiple pairs of "<p> </p>" tags, each of which represents an empty line. However, one of the "<p> </p>" pairs goes missing.

For example, you expect to see the following text in the contentEditable div when you paste from WordPad:

<div contenteditable="true">        <span lang="">            <p>This is a test</p>            <p> </p>            <p>This is another test with 1 new line</p>            <p> </p>            <p> </p>            <p> </p>            <p>Next line after 3 new lines</p>        </span>    </div>
However, the text is displayed as follows:
<div contenteditable="true">        <span lang="">            <p>This is a test</p>            <p>This is another test with 1 new line</p>            <p> </p>           <p> </p>            <p>Next line after 3 new lines</p>        </span>    </div>
Resolution
To fix this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update. Additionally, see the technical information about the most recent cumulative security update for Internet Explorer.

Note This update was first included in the MS16-063: Security update for Internet Explorer: June 14, 2016.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.
Properties

Article ID: 3168662 - Last Review: 06/15/2016 04:52:00 - Revision: 2.0

Internet Explorer 11

  • kbqfe kbsurveynew kbfix kbexpertiseadvanced KB3168662
Feedback