Only overwrite links with the text [link]

Fixes #663