Search for HTML first, then plain text. (closes #3).