summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2021-04-25 21:49:01 +0200
committerSigrid <ftrvxmtrx@gmail.com>2021-04-25 21:49:01 +0200
commit51ead1072b1c4b55ec898a083ed2bba878c33927 (patch)
tree36a6ebdbb84c624cc35f02b93348f5166d0e3ecc
parentc0d4498ab8a4e564156f49e5b6633a6335b91fc4 (diff)
downloadplan9front-51ead1072b1c4b55ec898a083ed2bba878c33927.tar.xz
file: partially revert 8419 to detect <?xml as html
-rw-r--r--sys/src/cmd/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/file.c b/sys/src/cmd/file.c
index 99a693e12..af1f0df36 100644
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -858,7 +858,7 @@ struct FILE_STRING
"<!--", "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",