Modified formatstring(). It now parses the 'a' tags.