change referrer type to TEXT, closes #98
format html in acp_nav