Avoid situation when a link continues on the next line, this case should
be covered by a separate test