Helper function to determine whether HTML is allowed
Only show HTML notice if HTML is allowed