When importing from HTML, all successive spaces in a spans are trimmed. Instead, in some cases one space should be left, e.g. between words. For example, the importing the following HTML should leave one space after the hyperlink:
<p><a href="www.telerik.com" target="_blank"><span>test</span></a> and more.</p>
Workaround: After importing, check if the runs after the hyperlinks start with space:
foreach (var hyperlinkEnd in this.document.EnumerateChildrenOfType<FieldCharacter>().Where(f => f.FieldCharacterType == FieldCharacterType.End))
{
Paragraph currentParagraph = hyperlinkEnd.Paragraph;
int indexOfNextRun = currentParagraph.Inlines.IndexOf(hyperlinkEnd) + 1;
if (currentParagraph.Inlines.Count > indexOfNextRun)
{
Run run = currentParagraph.Inlines[indexOfNextRun] as Run;
if (run != null && run.Text[0] != ' ')
{
run.Text = " " + run.Text;
}
}
}