Thank you, your advice has solved the problem.
Yes indeed, I had cut and pasted some of the text from an external editor and had not intentionally set the link format.