ref: d25a1f4af7759dfd893521bfde6a764e6b5c3012
parent: 608d014075a8abea684ff7d3b9d757221ba0f1ec
author: Sigrid <ftrvxmtrx@gmail.com>
date: Sun Apr 25 17:49:01 EDT 2021
file: partially revert 8419 to detect <?xml as html
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -858,7 +858,7 @@
"<!--", "XML file", 4, "text/xml",
"<html>", "HTML file", 6, "text/html",
"<HTML>", "HTML file", 6, "text/html",
- "<?xml", "XML file", 5, "text/xml",
+ "<?xml", "HTML file", 5, "text/html",
"\111\111\052\000", "tiff", 4, "image/tiff",
"\115\115\000\052", "tiff", 4, "image/tiff",
"\377\330\377\340", "jpeg", 4, "image/jpeg",
--
⑨