Check for proper HTML text handling