This tests insertion before/after links in certain situations. Inserting before a link should always put the text outside the link unless insertion is happening at the start of a paragraph. Inserting after should always insert inside the link, unless insertion is happening at the end of the document.

link. This This should.