Replace buttons in text with links