Add HTML detection