From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cLbPIq9DmmMNcgEAbAwnHQ (envelope-from ) for ; Wed, 14 Dec 2022 22:44:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wGOqIq9DmmPsLgAAauVa8A (envelope-from ) for ; Wed, 14 Dec 2022 22:44:15 +0100 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 5245D24356 for ; Wed, 14 Dec 2022 22:44:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5ZXK-0000lx-48; Wed, 14 Dec 2022 16:43:34 -0500 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 1p5ZXI-0000l8-6D for emacs-orgmode@gnu.org; Wed, 14 Dec 2022 16:43:32 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5ZXF-0004lX-Uy for emacs-orgmode@gnu.org; Wed, 14 Dec 2022 16:43:31 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1DA605C00CF for ; Wed, 14 Dec 2022 16:43:26 -0500 (EST) Received: from imap43 ([10.202.2.93]) by compute3.internal (MEProxy); Wed, 14 Dec 2022 16:43:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitmaster.se; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1671054206; x=1671140606; bh=ILqEzLdH+y99c9XJP3YRcFi0yBqcejjoH7C t2sE5vI4=; b=SKJfPZMqWLpq+3GrSI4lp9xe5Nv41PxyHAWBfSe/7WMkQQD/N0w eP3gXlR2DF46r5SiKcFKp4Fnhfjk97AYFl7rDDIcEJhNBaJkCPACJRsoLgIS61CT Ac24sy1pxsbEpW/AQNyh4ckAeWZjiCWnChbbeJyM2VFQJCTy7luy9l26hYIrcjvr NUq+yQEqQx2E6IPXq11Hv4RZBzET8ERT6HiBg9sLV5LNrpLsAtWksydpo+ubPWzt CaR05S9DxYn/LGEKKtpENoIkWOQ+cyymx35r76CGDNagVKGCi1+d7ERKwnp+i8p5 HYE9Qkf9BVmVlZ3Iia9a7TLg6OgxfMcjC5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1671054206; x= 1671140606; bh=ILqEzLdH+y99c9XJP3YRcFi0yBqcejjoH7Ct2sE5vI4=; b=w VnW0d6txKjsgoX81A3Cq5yJe8jzJkEkh/1Orp4KjDM+gHdO8w1ed7hCUrdp7uyal ZQbfWTO0ylSYQExrPC99AGr1ClQQ0RqmjAH0cRVxZi7n1JYcYITIO4Js5SjjScSZ T2aXlX8q7MRQiklQsWtveUMn7oNWCeGFjoY6V+rmtFls7vcQRNAdisNs6MaBmR48 t8nAKceMavfcQkPhyOaDBVjVRNKMscJvhjQgR7m+OstAz3Z/J9dyGbaeFZtB2nmB OZkvyzOZT7vK8jHsN8P91WXF4N10SOMGfjLtgxDWP3VSvFTspA823ChLamT+mhuU PCBdl8V7y1+jO1vCUFp4A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgdduheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erreejnecuhfhrohhmpeflohhhrghnuceuohhlmhhsjhpnuceoohhrghdqmhhouggvsehj ohhhrghnrdgsihhtmhgrshhtvghrrdhsvgeqnecuggftrfgrthhtvghrnhepgeduuddthe eivdelteeljeeltdfgkeehtdeiudeghfekgfejieehhfekhefhhedvnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepohhrghdqmhhouggvsehjoh hhrghnrdgsihhtmhgrshhtvghrrdhsvg X-ME-Proxy: Feedback-ID: i5be1467e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E408C2D40074; Wed, 14 Dec 2022 16:43:25 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: <116c3126-32cc-44d0-9e95-e802161e1e84@app.fastmail.com> Date: Wed, 14 Dec 2022 22:40:51 +0100 From: =?UTF-8?Q?Johan_Bolmsj=C3=B6?= To: emacs-orgmode@gnu.org Subject: [BUG] ox-html does not export captions of source blocks without language Content-Type: text/plain Received-SPF: none client-ip=66.111.4.26; envelope-from=org-mode@johan.bitmaster.se; helo=out2-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671054255; 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=ILqEzLdH+y99c9XJP3YRcFi0yBqcejjoH7Ct2sE5vI4=; b=lsaby253N6zJl68uPC4f/I0UPYPohnZA5F1Q5gdd1VK1MqbCYT8e/7MvvMuSb01Eadx4fK xP2kM9FldIK3e87VSBBEjz0XjFBHUnG9uvpKkHCiudBHible1xRbp7XLo+juueJupOSES1 57N3N6/SGPznm9vkkmrUgdbW2CdAlI/5J6JFr35ek6MmN20+y2g1C3rgU9O52eW+ziqqZa tnGLowITr8SeynDw08vk/zGKXPtvIeTix6B1f499QEYogcI0aSG4E6WTXUKYR06sk4fm2H z9dhyAb64uYXM2ZDi4TAkoWCPyOoWSTo+38vNTXK24ioGkCHTN1N+CaWoQdBuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bitmaster.se header.s=fm1 header.b=SKJfPZMq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="w VnW0d6"; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671054255; a=rsa-sha256; cv=none; b=Xvpvl+Xn3xMSt8RTBtwmystrWUVGJ+QdeIA5tfQAOEjzaGFN8gzhjSmA/eYbbwkwVInr2O SZt5e0wvJzGtF7SCO4+RhssASuIzi8vi84Wa3zyPjJsxQcU0d/Vzw+NBoa5EJ8kre6hNju BObewxx2124D4ZgCA5kFTwCIoOgQPDGEfUa81+SNnzNBuKxub9f1Czmz5zk0uadkwdrjr4 /WSuFWwDjVya6RNNU09fGNsqzDryJbSQFH6WE23dQ2t4QT57KyGvusvPOEI8kMYKLg71+D 9oQQ1jyPXy1DeD8i9ptq1STQEjBqHiaOZFFWAgGF/TvGDr07WCvHPrGjw+/x6w== X-Migadu-Spam-Score: 0.74 X-Spam-Score: 0.74 X-Migadu-Queue-Id: 5245D24356 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bitmaster.se header.s=fm1 header.b=SKJfPZMq; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="w VnW0d6"; 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=none X-TUID: VFFcvP+K84RG ** Description The caption "Caption 1" is not exported by ox-html in the following source block. #+caption: Caption 1 #+begin_src foo bar baz #+end_src The caption "Caption 2" is exported by ox-html in the following source block. #+caption: Caption 2 #+begin_src sh echo foo bar baz #+end_src ** Expectation The caption "Caption 1" is exported just as "Caption 2" is. The plain text exporter ox-ascii exports both "Caption 1" and "Caption 2". ** Version Info - GNU Emacs 28.2 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2022-11-19 - Org mode version 9.6 (9.6-gf49ee9 @ /home/johan/.emacs.d/straight/build/org/)