tsenart/sight — pull request #51 by AMKohn (2014-06-12 15:03:13+00:00)
Title: Detect local (file:///) HTML and XML files

Chrome doesn't include a content-type for local HTML and XML files, this adds support for them to be rendered as pages instead of code.

It's a bit hard to follow, but it's more efficient this way since the second part will only be run if it's a `file:///` URL.

I tried to keep the code formatting consistent so this can be merged directly.