Ignoring pdf and html