#
804056af |
| 23-Apr-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
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 5
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 "<html xmlns" and the utf-16 equivalent, as well as part of the DTD tag.
show more ...
|
#
a68efa73 |
| 08-Apr-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Add a mime type for XHTML and make Web+ the preferred app.
* WebPositive testsuite relies on the mimetype to parse xhtml files. * This has a higher priority than HTML, because it is more reliably de
Add a mime type for XHTML and make Web+ the preferred app.
* WebPositive testsuite relies on the mimetype to parse xhtml files. * This has a higher priority than HTML, because it is more reliably detectable * Uses the same icon as html and mhtml. Who wants to draw new ones?
show more ...
|