9front - general discussion about 9front
 help / color / mirror / Atom feed
From: theinicke@bss-wf.de
To: 9front@9front.org
Subject: [9front] file(1) another partial revert of 8419
Date: Mon, 03 May 2021 20:38:21 +0200	[thread overview]
Message-ID: <6CD9740F8D0B31B1E3AC8BAF34E1C8CE@bss-wf.de> (raw)

Hi,

given the revert in 8432, I think we should revert a little further.
Currently files like https://www.openbsd.org/anoncvs.html
are not rendered in mothra(1):

diff -r f98f914bcb45 sys/src/cmd/file.c
--- a/sys/src/cmd/file.c	Sat May 01 15:33:31 2021 -0400
+++ b/sys/src/cmd/file.c	Mon May 03 20:33:12 2021 +0200
@@ -855,7 +855,7 @@
 	"%PDF",			"PDF",				4,	"application/pdf",
 	"<!DOCTYPE",		"HTML file",			9,	"text/html",
 	"<!doctype",		"HTML file",			9,	"text/html",
-	"<!--",			"XML file",			4,	"text/xml",
+	"<!--",			"HTML file",			4,	"text/html",
 	"<html>",		"HTML file",			6,	"text/html",
 	"<HTML>",		"HTML file",			6,	"text/html",
 	"<?xml",		"HTML file",			5,	"text/html",



             reply	other threads:[~2021-05-03 18:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 18:38 theinicke [this message]
2021-05-04 13:02 ` kvik
2021-05-04 17:21   ` james palmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6CD9740F8D0B31B1E3AC8BAF34E1C8CE@bss-wf.de \
    --to=theinicke@bss-wf.de \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).