Refactored view code, implemented twet_link_replacer helper method