Strip out HTML tags before guessing language