From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AKELEn1a/WWSAQAAe85BDQ:P1 (envelope-from ) for ; Fri, 22 Mar 2024 11:16:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AKELEn1a/WWSAQAAe85BDQ (envelope-from ) for ; Fri, 22 Mar 2024 11:16:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=pub.pink (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711102589; a=rsa-sha256; cv=none; b=RZvZ2cgOAT9ebuKlQ+1Srk+05ZG4Z/g2bOsxcUt97nUDR4zf61S6olPZNAOEtSHqZlOZoY 226xew6OYYYUmvXaFY7/kO1QKeSRpNln9Ngyokny6cokL6nWsQ84gLlXF7iB1JVb9GRBgM hihzVhVPk7VoMPthAUQQOwECKLRTnF1J87Jc77AseOrOpSJUF6COyE6pqTB10ELoOQPNnm lsemQuE8DEs0qSGomFNDSct051L9SCNpaElNm84caZFpmlPijxDStI/pegDXg5v1FtQFcS MBAS/LPxHb8P/+P5s8GGNO6AbxXQ4MxAb7Uh/My3rV5n5tOYYF0mSMzj7TG4eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=pub.pink (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711102589; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GmbMNVAogr9uRZR5NadhgM0V2JIrMncrlPrCRVtNnTg=; b=mNgxqdaC9IwxXaj/gg8NNblw84v3UXnKeYD7WcYXesTb28dlM8MHbdO/CpxB71mGsEAz/s 8oNL+ib8iEZL6zo1+VfkVaw8fw3KgnvA9aeiD6S2bojn0wFd15bo3KzMMy6l2fPy48CLpa mVYVAfAb1ofDGdZ5qh9WWnGzMwcX8Hx2Kx86btqMsmBVa3zMCZZ82wk/x1JEiVlVxYfljJ scOknyRcP95uf8eGsn1mKKrPHq93fbRtSpVmwJqN0AnUYsuMmmwbNPE/GdMrPB1P6r8y88 b0wP2qUuHmCqLXv6EdCwJdH2lIcY+JgYMe3GBwcPrIF+OID23CvPXXKmco5gmg== 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 1C4572524C for ; Fri, 22 Mar 2024 11:16:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rnbvo-0002MB-Qj; Fri, 22 Mar 2024 06:15:26 -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 1rmc36-0003JK-OR for emacs-orgmode@gnu.org; Tue, 19 Mar 2024 12:10:49 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmc34-0002JQ-Ot for emacs-orgmode@gnu.org; Tue, 19 Mar 2024 12:10:48 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 8B07B5C0088 for ; Tue, 19 Mar 2024 12:10:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 19 Mar 2024 12:10:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1710864639; x=1710951039; bh=GmbMNVAogr9uRZR5NadhgM0V2JIrMncr lPrCRVtNnTg=; b=DUtH6l7HfeEnhiqCtxPUgoE9+42arpLS9L2i9EWV7G52kF0e +KrjdVWuSjo91SFd5O1IRGKla2ZX5mCZNLV6ET7636XpKVLer+Aks41Iv6Sj+vuq 1w7PfYWKvnDKJO0EkJxhD+/kRkrf78+r54n40teI62Mg7i51jQ2GECAliKe0wD35 0MsOVKrc5BAilB/aF5WR7/FMM8ERZ6ohLAZYZNfWPtUuCtc5Zdtxff+6LcdMCEyR /1cwunxnlyA+3moHXhyg+ujmItt9enhviC87FVXlBA5iadA8NXjrIf8aHlObNAgG 40G9Oaa2HaYgiupa0MZ5cQF/7QRWhcf+4+qo1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1710864639; x=1710951039; bh=GmbMNVAogr9uRZR5NadhgM0V2JIrMncrlPr CRVtNnTg=; b=tES9p32jo73mEkMNNHASgGrGhTKGwkE6ykI4CYTBZAgD1W0z3gV Pzl4RDflL3Lr6szTjk+q7OKwNW49kB475Fw2r7oWMgyoy47+OX5gNSqtL4Ma/ZrF VBet3P5XMk3h+gKI2td6PtUstT/CRt2jvFnIYiglCsJWMtpDfYvnTHqZZXYq2jEV S9fsIE4CqGTeWW2ZubK6/xHx4R6G33yvQob/BTuj+4WBc3rZlIFv3nzj+8Y43KXg PITFzZqvh5TP9cj6oLZ8Egp4pmZtAfiUay5fRWeqsWN6rcqNZwc0fe80ENIUi/BM dN3C6Y0iLKvSK7Ax1dPi9wuqgQu1Jvq8KGg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrledtgdehlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesmhdtreertddttd enucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucggtffr rghtthgvrhhnpeefhfdvfedutdelvddvvdejhfefvdefleeggfeiueeiiedtvddvgfeiue dugeeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjmhesphhusgdrphhinhhk X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 19 Mar 2024 12:10:39 -0400 (EDT) From: john muhl To: emacs-orgmode@gnu.org Subject: [BUG] Stray divs in HTML export [9.6.15 (release_9.6.15 @ /home/jm/.local/share/emacs/30.0.50/lisp/org/)] Date: Tue, 19 Mar 2024 11:10:37 -0500 Message-ID: <87ttl2kxs2.fsf@pub.pink> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=66.111.4.25; envelope-from=jm@pub.pink; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_EXTRA_CLOSE=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_HTML_ATTACH=0.01, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 22 Mar 2024 06:15:19 -0400 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -1.30 X-Spam-Score: -1.30 X-Migadu-Queue-Id: 1C4572524C X-TUID: Ko4MV1Alktpv --=-=-= Content-Type: text/plain The closing
s inside HTML comment blocks appear outside the comment which makes the exported HTML invalid. For example: #+title: Stray div demo Hello. #+html: Goodbye. Produces this HTML (cleaned up to make it easier to read, see attached for original files):

Hello.

Goodbye.

Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2024-03-08 Package: Org mode version 9.6.15 (release_9.6.15 @ /home/jm/.local/share/emacs/30.0.50/lisp/org/) --=-=-= Content-Type: application/vnd.lotus-organizer Content-Disposition: attachment; filename=org-html-export-bug.org Content-Transfer-Encoding: base64 Iyt0aXRsZTogU3RyYXkgZGl2IGRlbW8KCkhlbGxvLgoKIytodG1sOiA8IS0tCgoqIEhlYWRpbmcK KiogU3ViaGVhZGluZwoKIytodG1sOiAtLT4KCkdvb2RieWUuCg== --=-=-= Content-Type: text/html Content-Disposition: attachment; filename=org-html-export-bug.html

Table of Contents

Hello.

Goodbye.

--=-=-=--