only add info box to text/html page