Fix bug with collapsed xml paragraph tags

> (A) Some content. (*1*) Some more

Was resulting in two paragraphs, with the second containing no text and the first containing everything. This is because we were looking for the markers (to split the text) using the plain text.