Added code to process mentions, tags, links