From 804056af27517aed7d5b5ea2c9dd19bab96d7e7d Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 23 Apr 2014 15:00:40 +0200 Subject: [PATCH] More tweaks to the HTML related sniffing rules: * MHTML: give a higher priority than HTML to improve detection results, as MHTL is likely to contain HTML in the first chunk. * HTML: scan the first 512 bytes to increase likeliness of finding a tag * XHTML: don't try to identify on the dectype, this is not reliable and missing from some documents. Recognize "