Fixed a bug with link parsing.