From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aEdrMGFUBWaEYwEAe85BDQ:P1 (envelope-from ) for ; Thu, 28 Mar 2024 12:28:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aEdrMGFUBWaEYwEAe85BDQ (envelope-from ) for ; Thu, 28 Mar 2024 12:28:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Xz8jWkJp; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711625313; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JdLBEe+WvzjbK9mVsaamxlXqBIJ4lE/V5Pf5Az14KGk=; b=jRgAJJqhEf0uxFloRXs+R4Q830Kgs8xfPWPBlhWFaAysawUYvHul/mxytCIC/39izAzjSJ jE01+GwmyItipZUoP8qZP/4jU1hwX3rFABVlRFcETlTwMEJo7h6y20T0eFH3f0xfaYAHt8 /jmPEkkrNoyztyb4kaRcsNk08Udr4X2TsMH6vTRPHlY8xwCvYbpbjsOBDdN03egVRnsvCn Kl3c274iY3WUlL02wXP/oq/KUSDCxX8GbGCnpiAlmfRNVzwXLaAKw5JnU1rPIrkwriAZsO sMBaWQ2njXp+Bi+7GjwQjuiDDy32UKSoENHE6mDiSszH1RDumpSvAJ0g8W3rtA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Xz8jWkJp; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711625313; a=rsa-sha256; cv=none; b=dVrfmOxXMNE2cSrsu9FU66I+jKTfoHk5YiY/sN3JSpobLFOXPmHnyKbh/+QvoG5BrS5F2M bspxPK/aJ6csK2Z37q8aOnlPmnjXaq6NJPwaiSOyiZDi2A+ltyLYptBLBYMLfNBUuUaxzP LQmRSeyCu4D4Z677PlaR2+RsXdRj+O2VKNNvaZPlgTRtbzOifIxfLrmw/K0/hRcZkUoc1U saNAs5qIcDTfelwZHchPwhNOk58CIvVdl5R4MIpjln06yzRtO8+YrPQHpMJhjqwhIUZo/0 8IuWXZ47os6nvzKLFo3VNTJtXNFoKoKZfkF1yGb7Z2DHQbianIVT/2UlyjA+jw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BD435F19F for ; Thu, 28 Mar 2024 12:28:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpnv3-0003fB-Fk; Thu, 28 Mar 2024 07:27:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpnv1-0003ea-BX for emacs-orgmode@gnu.org; Thu, 28 Mar 2024 07:27:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpnuy-00076D-R2 for emacs-orgmode@gnu.org; Thu, 28 Mar 2024 07:27:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D2FF3240027 for ; Thu, 28 Mar 2024 12:27:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711625254; bh=Ba4f2rpDOk4YxIBPg7CAPDN3bzEjDws8O4ECe7Xax7k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Xz8jWkJpdb6Searb3qAt7B2bIva+XIYDA5WUxKNiJW22vHtZN+Hf3/DGQqxJRvfQ7 IAETove6YVPef24UfQ0ugtRPcRQhyYEwnqeO82Q69Ybyy6JtCuwYTkxyeB5BgChHT2 gBy1E3OGhPuoQWnFJiZNz+WagjqkIBoGACjx1mOZmhYsiFEHjH3VECQDcXRIgoplc2 8saD8f/0twdS01uyGwW+LFJ+JkCP5be1w6TWN8cexhIRGD2VImmnvUbg/+xQ+IhfET F21+GZyXlJgh1zt6CX1hxqxgxSsF4U6Tbzf+LWfSWYmma0ilXjLQ4sZqDtRy9GjBQf 4UmMbgC+xXE/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V51VF5plMz9rxB; Thu, 28 Mar 2024 12:27:33 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: ox-html content-type metadata (was: [BUG] ox-html output does not pass validation for html4-strict doctype [9.7-pre (release_9.6.23-1423-gcea6a1.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]) In-Reply-To: References: <87v85ad0fy.fsf@localhost> Date: Thu, 28 Mar 2024 11:27:41 +0000 Message-ID: <87o7aytx3m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6BD435F19F X-Spam-Score: -9.54 X-Migadu-Spam-Score: -9.54 X-Migadu-Scanner: mx11.migadu.com X-TUID: 3OKP3fpJbzg9 This is tangent to the original problem I described. Max Nikulin writes: > On 25/03/2024 18:18, Ihor Radchenko wrote: >> I am wondering whether it is at all possible to use the same syntax and >> yet pass validation for all the allowed values of `org-html-doctype': >> "html4-strict", "html4-transitional", "html4-frameset", "xhtml-strict", >> "xhtml-transitional", "xhtml-frameset", "xhtml-11", "html5", "xhtml5". > > Is it correct to use text/html for XHTML? I would expect > application/xhtml+xml, but it is better to check standard. It is certainly not an error. Also, https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#texthtml says All HTML content should be served with this type. Alternative MIME types for XHTML (like application/xhtml+xml) are mostly useless nowadays. > For html5 my expectation is > > > > instead of http-equiv > https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#charset What made you think that your expectation is not fulfilled by ox-html? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at