From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kPzAArtw/F/gTgAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 15:37:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +I8fOrpw/F+jfAAAbx9fmQ (envelope-from ) for ; Mon, 11 Jan 2021 15:37:30 +0000 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 741C79402A8 for ; Mon, 11 Jan 2021 15:37:30 +0000 (UTC) Received: from localhost ([::1]:56470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyzG5-00072S-Ep for larch@yhetil.org; Mon, 11 Jan 2021 10:37:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzBW-0004GY-RP for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 10:32:47 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:33346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyzBS-0005sC-H6 for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 10:32:46 -0500 Received: by mail-wr1-x42e.google.com with SMTP id t30so240959wrb.0 for ; Mon, 11 Jan 2021 07:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IgoFvZTVASBsq7evMfeJ0sCtlPBuWo+b9thHWiNTeCg=; b=K5S5T9EY+6gjG7Z9B4LU9fGrtOnRywa3ueYfMuXQz7lZdGQCENSLCgnSBbj7eHn1KL L/seERuOzpQSD9FFr1PWimj5GeGHe9b7VpkfhDNWKKqOpYyzr5nXyJi9rlSOllkXbosP bACSKiRPjtxsUfphTV8WgBTTFxFMdu6fL39Cary1u+JAyTKxxjvYfXtK/K696AlrFPPS u3E5m1AR1kxlOYBu7oGVlpWQRSoE5j7sMfYNKELAmAHyr8oUigIhKJ/dk/1gBml4OJBh A+RPSGnbnQadntUUiq/riJk4cLkSsnnQsU4Z5gll3Wj5r/xxJt2lCSCutznBHzqvE1wS El6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IgoFvZTVASBsq7evMfeJ0sCtlPBuWo+b9thHWiNTeCg=; b=rbow4GqSl0V0QhkkbM+yU0YK1bs4kRRAOFVYkJ3xh/y181R8ZMWtpyFiKR8O332e48 AUO8LKhyF15GmE1dojY5MuGfJaFRnjskOP+HvtAKZ8ySjKaH1HW/T0M7OFzNkW0fcGUy jYBkxsm/+ga5E6VQS8ovFBQ94EFvqKIAbJFevSRglVYe4Qofi59MoMRYNAAEYMUPLQBV 2qoEEi3nqHGKlQwWXpi8m9FagxnjfMLBBjlRIhlwxShuWvJoNs9s/7MBNnaPAvitYjxv Y0K7aflGznUKMZe1EZ3S+czpYCi9W+OICHg14jJPkmScPUIGoUJ/Ek5ndY+jIs8QC/XD Nxkw== X-Gm-Message-State: AOAM5326Stoiysyriq71Zga4rSfGR7ZB0rhiaqVnxXQx8snGp/FNqboY 6GFnJ+0nt9Pk0PgMP7CKqvOIJrBulX1HXQV7AhOKXZe3CTmaDw== X-Google-Smtp-Source: ABdhPJw6XC2a70LwpOiQSbTbgYrI5k2TuZ9OuqAdIN9wf5RfQ6aIWh8PxiXuYZl3Yg55NC6v887QzQ5lxby+sEnCUm0= X-Received: by 2002:a5d:40d2:: with SMTP id b18mr16413736wrq.369.1610379157811; Mon, 11 Jan 2021 07:32:37 -0800 (PST) MIME-Version: 1.0 From: Tim Visher Date: Mon, 11 Jan 2021 10:32:01 -0500 Message-ID: Subject: ox-html Incorrectly (?) Puts HTML Into the `` Tag To: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Content-Type: multipart/alternative; boundary="000000000000a7b45c05b8a19df0" Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=tim.visher@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=K5S5T9EY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 741C79402A8 X-Spam-Score: -3.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: sVw6q6Oudqye --000000000000a7b45c05b8a19df0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, I noticed over the weekend that the `<title>` tag in an ox-html document is populated with HTML when inline formatting like bold or italics is used. I'm running org 9.4.4 but even on HEAD <https://code.orgmode.org/bzg/org-mode/src/9ea7ff5e2f8f9f280f8022cade62c1a3= bba1478c/lisp/ox-html.el#L2092-L2111> this behavior seems to be the same where `(org-export-data title =E2=80=A6)` is = used to populate the title rather than something that would render the title textually. My understanding from MDN <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title> is that `title` tags should never contain markup. Is this something we'd take a patch for? My thought is that the title should be converted using the text backend by default, perhaps with a configuration variable that would let you specify a different one (for instance markdown) but I wouldn't go that far at first. Of course at minimum since org is textual it could just use the title without exporting at all but I think that doesn't go far enough. The other possibility would be to somehow strip all special characters from the title but I think that goes much too far. Thanks in advance! -- In Christ, Timmy V. https://blog.twonegatives.com http://five.sentenc.es --000000000000a7b45c05b8a19df0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi all,<div><br></div><div>I noticed over the weekend that= the `<title>` tag in an ox-html document is populated with HTML when= inline formatting like bold or italics is used. I'm running org 9.4.4 = but even on <a href=3D"https://code.orgmode.org/bzg/org-mode/src/9ea7ff5e2f= 8f9f280f8022cade62c1a3bba1478c/lisp/ox-html.el#L2092-L2111">HEAD</a>=C2=A0t= his behavior seems to be the same where `(org-export-data title=C2=A0=E2=80= =A6)` is used to populate the title rather than something that would render= the title textually.</div><div><br></div><div>My understanding from <a hre= f=3D"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title">MDN</= a> is that `title` tags should never contain markup.</div><div><br></div><d= iv>Is this something we'd take a patch for? My thought is that the titl= e should be converted using the text backend by default, perhaps with a con= figuration variable that would let you specify a different one (for instanc= e markdown) but I wouldn't go that far at first. Of course at minimum s= ince org is textual it could just use the title without exporting at all bu= t I think that doesn't go far enough. The other possibility would be to= somehow strip all special characters from the title but I think that goes = much too far.</div><div><br></div><div>Thanks in advance!<br><br>--<br><br>= In Christ,<br><br>Timmy V.<br><br><a href=3D"https://blog.twonegatives.com"= >https://blog.twonegatives.com</a><br><a href=3D"http://five.sentenc.es">ht= tp://five.sentenc.es</a><br></div></div> --000000000000a7b45c05b8a19df0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eNchL3f5/F8GLAAA0tVLHw (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 12 Jan 2021 01:20:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kF4OK3f5/F83VAAAB5/wlQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 12 Jan 2021 01:20:55 +0000 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 DCECD9403CB for <larch@yhetil.org>; Tue, 12 Jan 2021 01:20:54 +0000 (UTC) Received: from localhost ([::1]:33996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1kz8Ma-0004uh-AW for larch@yhetil.org; Mon, 11 Jan 2021 20:20:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1kz8LB-0004uY-9o for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 20:19:21 -0500 Received: from out1.migadu.com ([91.121.223.63]:3296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1kz8L5-0003qZ-Dy for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 20:19:21 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1610414348; h=from:from: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; bh=MaYO3mGle/ZRKbF3Ky5LvkSb1351hUd8TWI4GZ9vwBw=; b=DqybApWgW41UISsxZ6p0bfUAfLZfje5OzqINlfu6w4SpmUSgHgFZn/5xZZEztlDMhUwC3f dIe9FMUxxKOCU1EZS3a6AaW0RvvNfJJ33LJjiF6l9+WCH6+Y2w50xpSWr62exe9CywlcP0 +ixKkgkyS7axa2MDPOH2iX2xq34nUbPuygyJ2Z7x3K+xWOxfsXDZs6G0DyS6xfWsJKRSbm 23sV9vCPVEr8WTn8PxyZ4GRiaK64HAB5jZxC6730laVhz9+tkt5RO8dwOeEvAF21aBLtqp m0iAaE1zrskoeON+0S21fi8tpYmpEfKtPF1FrJaL1ggfFJQSoVlcinMIXoRWMw== From: Kyle Meyer <kyle@kyleam.com> To: Tim Visher <tim.visher@gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag In-Reply-To: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> References: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> Message-ID: <874kjndkad.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Tue, 12 Jan 2021 01:19:08 GMT Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=DqybApWg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: DCECD9403CB X-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: vKuJ4nsmJQym Tim Visher writes: > Hi all, > > I noticed over the weekend that the `<title>` tag in an ox-html document is > populated with HTML when inline formatting like bold or italics is used. [...] > Is this something we'd take a patch for? Thanks for reporting. Is this addressed by the in-progress series at <https://orgmode.org/list/87o8hwpz34.fsf@gmail.com/>? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WMUXL+e3/V90KgAA0tVLHw (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 12 Jan 2021 14:53:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0AH5Kue3/V8ycwAAbx9fmQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 12 Jan 2021 14:53:27 +0000 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 979D49401C0 for <larch@yhetil.org>; Tue, 12 Jan 2021 14:53:27 +0000 (UTC) Received: from localhost ([::1]:51112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1kzL2y-0004k8-Mm for larch@yhetil.org; Tue, 12 Jan 2021 09:53:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1kzL1l-0004Jo-NQ for emacs-orgmode@gnu.org; Tue, 12 Jan 2021 09:52:09 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:40892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1kzL1j-0003JA-Hn for emacs-orgmode@gnu.org; Tue, 12 Jan 2021 09:52:09 -0500 Received: by mail-wm1-x330.google.com with SMTP id r4so2356114wmh.5 for <emacs-orgmode@gnu.org>; Tue, 12 Jan 2021 06:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bjmOlmN4gkHvl4sszEQxlHDGCcSxq/2t1/PAaRzUeA0=; b=fSiAB0pFznfZ7nhyJk1cdMOYaIbhEyWDfvHGUeNmfYogqCvaiLMSZ2rLExONApeXhq EHy3S3/9GbQHIcT+SL6ioDEmG7AH+Yk5qPFzk0X5TBvZogkcdimABcUysK2SVIfbXNWc l7hH7hc/ddVgE5O/zmLIjAPbE9izGoCM0Buis4tDetQvzZTx7J2eOcGGY//e6oGwI4dn j8Q7lVE7YIDEliuaGLLTQ8ZW7oUOCOQS3UThsffcTiT4RzD9Cxb8V3DqJMCnzjUznpX7 OoqBmJ7cdXQSIB+FDt9FfLawJcyzOWSAnLk8SkdhWyvITjwYsM4FIz+ErnxQCW60d/Na lIqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bjmOlmN4gkHvl4sszEQxlHDGCcSxq/2t1/PAaRzUeA0=; b=ciRgCVcmHxsIKl9gyk1E5v1+2EwJ4vGLpeort0DO4iHAsyXqP5od5CnV3EYA0OUlL7 v8gj34H/lX/0+9IpoF8LQoY37Ee3oZO9LE22H1K0HFYCBCi0EuGb61QSJPob8c/xADOT RqAZBkutymF3X1bwaium6YUuuRNs6ShUb4AYN+WLyzkx6Whs4B67GKkpeWjLvIMYFRaj 4gUHfetLRJtJgweo/fGziC06reC4blfR95G+6R5/sPbZ6dIlhii8H0Q+b1CqgHAr7Eck o0TXtzj7t4Wsm9HT7NhoomeHwgaAYVurj9TWLQ6EE99uLH97Ywn2j0/sxuV6b+bfM2Lj bPzw== X-Gm-Message-State: AOAM532tND8QkbWB2AVDwk7lo0TQM6PIGEVJN6md9ulysmjL0At5p50A qyTcalFEYUYd8M7MGtZx5o9GpIjPAXGUpv10U1bwdIeSI7Vg6Q== X-Google-Smtp-Source: ABdhPJwft2wZnPvELE9Ik7ZTN53qv+lNkbRUNSmGlG0nCFJ3DWXbVJrnF58UzKXhvFQGGqd4FurGRHskh8nR94CnCtU= X-Received: by 2002:a7b:cbd0:: with SMTP id n16mr4014220wmi.162.1610463125465; Tue, 12 Jan 2021 06:52:05 -0800 (PST) MIME-Version: 1.0 References: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> <874kjndkad.fsf@kyleam.com> In-Reply-To: <874kjndkad.fsf@kyleam.com> From: Tim Visher <tim.visher@gmail.com> Date: Tue, 12 Jan 2021 09:51:29 -0500 Message-ID: <CAHa53uzYX5iUk-xmC_np4Vi_YyawQKdXXeOMHoV79qDDtkudGQ@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: Kyle Meyer <kyle@kyleam.com> Content-Type: multipart/alternative; boundary="000000000000846da505b8b52aae" Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 979D49401C0 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: S22Zc2TBuOBp --000000000000846da505b8b52aae Content-Type: text/plain; charset="UTF-8" On Mon, Jan 11, 2021 at 8:19 PM Kyle Meyer <kyle@kyleam.com> wrote: > Tim Visher writes: > > > Hi all, > > > > I noticed over the weekend that the `<title>` tag in an ox-html document > is > > populated with HTML when inline formatting like bold or italics is used. > [...] > > Is this something we'd take a patch for? > > Thanks for reporting. Is this addressed by the in-progress series at > <https://orgmode.org/list/87o8hwpz34.fsf@gmail.com/>? > IIUC yes. I believe the following section of the diff should address it. ``` + (let* ((title (org-html-plain-text + (org-element-interpret-data (plist-get info :title)) info)) + ;; Set title to an invisible character instead of leaving it + ;; empty, which is invalid. + (title (if (org-string-nw-p title) title "‎")) ``` If I'm reading the code correctly, `org-html-plain-text` is a specialized form of converting org data into a plain text string with no markup. If I have that correct then I believe you're right. Is that your read as well? --000000000000846da505b8b52aae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Mon, Jan 11, 2021 at 8:19 PM Kyle Meye= r <<a href=3D"mailto:kyle@kyleam.com">kyle@kyleam.com</a>> wrote:<br>= </div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex">Tim Visher writes:<br> <br> > Hi all,<br> ><br> > I noticed over the weekend that the `<title>` tag in an ox-html = document is<br> > populated with HTML when inline formatting like bold or italics is use= d.<br> [...]<br> > Is this something we'd take a patch for?<br> <br> Thanks for reporting.=C2=A0 Is this addressed by the in-progress series at<= br> <<a href=3D"https://orgmode.org/list/87o8hwpz34.fsf@gmail.com/" rel=3D"n= oreferrer" target=3D"_blank">https://orgmode.org/list/87o8hwpz34.fsf@gmail.= com/</a>>?<br></blockquote><div><br></div><div>IIUC yes. I believe the f= ollowing section of the diff should address it.</div><div><br></div>```<br>= <font face=3D"monospace">+ =C2=A0(let* ((title (org-html-plain-text<br>+ = (org-element-interpret-data (plist-get info :title)) info))<br>+ ;; Set ti= tle to an invisible character instead of leaving it<br>+ ;; empty, which i= s invalid.<br>+ (title (if (org-string-nw-p title) title "&lrm;&q= uot;))</font><br>```<br><div><br></div><div>If I'm reading the code cor= rectly, `org-html-plain-text` is a specialized form of converting org data = into a plain text string with no markup. If I have that correct then I beli= eve you're right.</div><div><br></div><div>Is that your read as well?</= div></div></div> --000000000000846da505b8b52aae-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eA4eAYZs/l9kfgAA0tVLHw (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 13 Jan 2021 03:44:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wCmDOIVs/l9wOwAAB5/wlQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 13 Jan 2021 03:44:05 +0000 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 54E3E9402AF for <larch@yhetil.org>; Wed, 13 Jan 2021 03:44:05 +0000 (UTC) Received: from localhost ([::1]:56624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1kzX4k-0001Jm-Tc for larch@yhetil.org; Tue, 12 Jan 2021 22:44:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1kzX4M-0001JQ-M9 for emacs-orgmode@gnu.org; Tue, 12 Jan 2021 22:43:39 -0500 Received: from out0.migadu.com ([94.23.1.103]:57644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1kzX4K-00057E-49 for emacs-orgmode@gnu.org; Tue, 12 Jan 2021 22:43:38 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1610509412; h=from:from: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; bh=O8dkQqTE7bEp6lveyj4CDIPvKGCypyzuCcg7wUc42E4=; b=GSuqune4wcdmPrKe5Bbs3xIYtPQovJvC8Mh/sZoBRq6wkwFnnUudJyS+4zQCBrU2G6Uue9 ZKDU3qbRo1ZCmwKDfsRM/tZUeKrm1B89aFp2xHerj6TM3qFzgz6fsSbXn9Pu5hqgphPynT gLbXmsOyWeIwuLhzGH5kCcqmFKZmz5j+3ocrog105gBwVxpVKa+oZt05g8BrgBtPWAO2nV WKE1UPEI785bqVTiFVHYQ1wN7H/cloUCT89JpX2CZvMd2UGS817jePBFzMP9VUTgJb3vqq 4kjWgCW4zNZUlhziekAe1gPU4+uBJhG6dDszPj805dZxjrE5P3ITkEphkI6rHg== From: Kyle Meyer <kyle@kyleam.com> To: Tim Visher <tim.visher@gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag In-Reply-To: <CAHa53uzYX5iUk-xmC_np4Vi_YyawQKdXXeOMHoV79qDDtkudGQ@mail.gmail.com> References: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> <874kjndkad.fsf@kyleam.com> <CAHa53uzYX5iUk-xmC_np4Vi_YyawQKdXXeOMHoV79qDDtkudGQ@mail.gmail.com> Message-ID: <87pn2933j1.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Wed, 13 Jan 2021 03:43:32 GMT Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=GSuqune4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 54E3E9402AF X-Spam-Score: -2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: hEcI2qePxCFR Tim Visher writes: > On Mon, Jan 11, 2021 at 8:19 PM Kyle Meyer <kyle@kyleam.com> wrote: >> Thanks for reporting. Is this addressed by the in-progress series at >> <https://orgmode.org/list/87o8hwpz34.fsf@gmail.com/>? >> > > IIUC yes. I believe the following section of the diff should address it. [...] > If I'm reading the code correctly, `org-html-plain-text` is a specialized > form of converting org data into a plain text string with no markup. If I > have that correct then I believe you're right. > > Is that your read as well? Yep. And as a light test: #+title: a *b* c exports <title>a *b* c rather than a <b>b</b> c From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4JovCnoS/18aXQAA0tVLHw (envelope-from ) for ; Wed, 13 Jan 2021 15:32:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YBs9BnoS/1+VPwAAB5/wlQ (envelope-from ) for ; Wed, 13 Jan 2021 15:32:10 +0000 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 01E379403AC for ; Wed, 13 Jan 2021 15:32:10 +0000 (UTC) Received: from localhost ([::1]:54872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzi80-00053p-Ur for larch@yhetil.org; Wed, 13 Jan 2021 10:32:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzi3S-000253-RK for emacs-orgmode@gnu.org; Wed, 13 Jan 2021 10:27:26 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:36648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzi3Q-00069z-S2 for emacs-orgmode@gnu.org; Wed, 13 Jan 2021 10:27:26 -0500 Received: by mail-wr1-x436.google.com with SMTP id t16so2552406wra.3 for ; Wed, 13 Jan 2021 07:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fAunX9bQmmM8Wsz8+49BZezV/dKNJG+phQYfHqrAnmM=; b=Eq7InjvwHe7ZLzOY7lqcO9fVphlv0XfVDENGUDbPBtKhpEFeMrvJrfDnXbbOlGEOWk SbjXTiG/QrU20E4nSdqwl+sY5FCzOestn+Vq6eN8+M06IFUTFvZadwzgiHmhfijpznSk 8Bo980OOfCj907LQDxE65l7fBwQLI2KYfSsL+dUDG1gDPpEILQcNiCaiACciCn1RMWju YupyBC5AbPDReMV0H/ybpu8nGqNNeoUHUJW7SEpIyMBk9NOB6Ey8I/DAD6FydgO6mp2O TKfo8jTj/whqdWBICogP/gSsVmdotixUxrwyrtUfAbR7xTWIUQcf1oqpt2AJ7BWa3vre F20A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fAunX9bQmmM8Wsz8+49BZezV/dKNJG+phQYfHqrAnmM=; b=BDZoaa8TeB6+esK2z2wx0SjKC/urEoxmyaGkwHho2NPPNUc2N+yo0SaQh7yIizoctd 5LoG2rzhZpuiAGHNROhYaKjbJi2Y+o+OnUAQZPGh0Fc7/uP8XyoP8KyTTpg56bcB2Xc4 JIEusdFkR7+iHPu9JYUcKdz3QLCZYox3xh2iblsP93g3a8JaSw9IQiHSfitxCOVjiRI3 MnVLRi3v6JyTOjsEXEHU3BfPOW/YCocXRJeLSRCE8xDtnMfgzxZBoaYb4xjTPuWeiN+U FiTQUpPMw4w5+l1pLxPHYg0Vg9pRiAtb1yWqe50GJ9H9/ydlNkEhI3xcb1ifZLJW2c6A eKRg== X-Gm-Message-State: AOAM5314ft3lbp54rJO433c1OwvDDWFLX+kfbOEyfGz31jLbn7U2IFxN 0EN9APROEbN1i+WEPv76TbAohdzg5qqpcrLqWsSAAmV2LBo= X-Google-Smtp-Source: ABdhPJx4Un+l2sdxDgex5ITYO2JESbEbsarQ2PffIJuw+fPIKQ/QlBOPySYd70cQiSSeXraBGsQj7dzkCkZpYfNisDw= X-Received: by 2002:adf:ef06:: with SMTP id e6mr3116123wro.231.1610551641945; Wed, 13 Jan 2021 07:27:21 -0800 (PST) MIME-Version: 1.0 References: <874kjndkad.fsf@kyleam.com> <87pn2933j1.fsf@kyleam.com> In-Reply-To: <87pn2933j1.fsf@kyleam.com> From: Tim Visher Date: Wed, 13 Jan 2021 10:26:45 -0500 Message-ID: Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `` Tag To: Kyle Meyer <kyle@kyleam.com> Content-Type: multipart/alternative; boundary="00000000000082b81605b8c9c62e" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=tim.visher@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 01E379403AC X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: rUZYR8stihNM --00000000000082b81605b8c9c62e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 12, 2021 at 10:43 PM Kyle Meyer <kyle@kyleam.com> wrote: > Tim Visher writes: > > > On Mon, Jan 11, 2021 at 8:19 PM Kyle Meyer <kyle@kyleam.com> wrote: > > >> Thanks for reporting. Is this addressed by the in-progress series at > >> <https://orgmode.org/list/87o8hwpz34.fsf@gmail.com/>? > >> > > > > IIUC yes. I believe the following section of the diff should address it= . > [...] > > If I'm reading the code correctly, `org-html-plain-text` is a specializ= ed > > form of converting org data into a plain text string with no markup. If= I > > have that correct then I believe you're right. > > > > Is that your read as well? > > Yep. And as a light test: > > #+title: a *b* c > > exports > > <title>a *b* c > > rather than > > a <b>b</b> c > Nice! I don't know enough about `org-export` but FWIW the use case I have is not to have an explicit `title` property but instead just the default title of the heading contents. I assume that's all handled transparently by the `(plist-get =E2=80=A6` section. Do you have any idea the timeline for getting that patch merged? --00000000000082b81605b8c9c62e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jan 12, 2021 at 10:43 PM Kyle Mey= er <kyle@kyleam.com> wrote:
Tim Visher writes:

> On Mon, Jan 11, 2021 at 8:19 PM Kyle Meyer <kyle@kyleam.com> wrote:

>> Thanks for reporting.=C2=A0 Is this addressed by the in-progress s= eries at
>> <https://orgmode.org/list/87o8hwpz34.f= sf@gmail.com/>?
>>
>
> IIUC yes. I believe the following section of the diff should address i= t.
[...]
> If I'm reading the code correctly, `org-html-plain-text` is a spec= ialized
> form of converting org data into a plain text string with no markup. I= f I
> have that correct then I believe you're right.
>
> Is that your read as well?

Yep.=C2=A0 And as a light test:

=C2=A0 =C2=A0 #+title: a *b* c

exports

=C2=A0 <title>a *b* c</title>

rather than

=C2=A0 <title>a <b>b</b> c</title>
=

Nice! I don't know enough about `org-export` but FW= IW the use case I have is not to have an explicit `title` property but inst= ead just the default title of the heading contents. I assume that's all= handled transparently=C2=A0by the `(plist-get =E2=80=A6` section.

Do you have any idea the timeline for getting that patch m= erged?
--00000000000082b81605b8c9c62e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gEOtJbv+CGA6BQAA0tVLHw (envelope-from ) for ; Thu, 21 Jan 2021 04:10:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UIp8Ibv+CGCtFgAA1q6Kng (envelope-from ) for ; Thu, 21 Jan 2021 04:10:35 +0000 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 31A5A9402A2 for ; Thu, 21 Jan 2021 04:10:35 +0000 (UTC) Received: from localhost ([::1]:44792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2RIo-00020U-7Y for larch@yhetil.org; Wed, 20 Jan 2021 23:10:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2RIO-00020N-NK for emacs-orgmode@gnu.org; Wed, 20 Jan 2021 23:10:08 -0500 Received: from out2.migadu.com ([2001:41d0:2:aacc::]:57124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2RIM-0005TB-FO for emacs-orgmode@gnu.org; Wed, 20 Jan 2021 23:10:08 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1611202205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+bU+lboc00hZhHXxFntohc2n0+0IshV4y0NRQjmL50E=; b=SuHlZhT4NZpoXDDHW9aoJYG4ylxnown+uZgAl7qP38g5+QlXOsPvq1iCXn3X9pi+pE+vei rqkYV94YI0wBByFp4/h35s4sTFvvmKNOrGDmZ1MgBRnvSWS6E/vGQ+ScWqrWb+BI4/SDkJ LCTenGg5PnDV723r90G/shzhE7OmsSYw9FXpTEugorbsDtNLHin0Lxh+847l1nulsSxwCt W9f8r0Sel9EBffgUQZstH+qx3KGZbtFPDiW0spgsliqwcW7wOKlQJFozX+mSiiBgF2z8Ku X6fF1tDEqmzjk8r4oHEDpkAKbI0qyXjHlYnbE1oi9NKJQGWryK/xPIjuvC+BJw== From: Kyle Meyer To: Tim Visher Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `` Tag In-Reply-To: <CAHa53uxhMju=sQf8s=XVs-ZfhFijbTESG7MamWofDTHZTcA+2A@mail.gmail.com> References: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> <874kjndkad.fsf@kyleam.com> <CAHa53uzYX5iUk-xmC_np4Vi_YyawQKdXXeOMHoV79qDDtkudGQ@mail.gmail.com> <87pn2933j1.fsf@kyleam.com> <CAHa53uxhMju=sQf8s=XVs-ZfhFijbTESG7MamWofDTHZTcA+2A@mail.gmail.com> Date: Wed, 20 Jan 2021 23:10:04 -0500 Message-ID: <87bldjszfn.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:aacc::; envelope-from=kyle@kyleam.com; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=SuHlZhT4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 31A5A9402A2 X-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: EyDo26iyWfPw Tim Visher writes: > Nice! I don't know enough about `org-export` but FWIW the use case I have > is not to have an explicit `title` property but instead just the default > title of the heading contents. I assume that's all handled transparently = by > the `(plist-get =E2=80=A6` section. > > Do you have any idea the timeline for getting that patch merged? It's been applied to master (f4b9f9808). Please report back if you still encounter the problem in your use case. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MMqfM5OtY2BRMgEAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 31 Mar 2021 01:00:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oPdsLZOtY2CxQAAAbx9fmQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 30 Mar 2021 23:00:35 +0000 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 4F9C62796F for <larch@yhetil.org>; Wed, 31 Mar 2021 01:00:35 +0200 (CEST) Received: from localhost ([::1]:53772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lRNLd-0005cj-Ek for larch@yhetil.org; Tue, 30 Mar 2021 19:00:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lRNKF-0005cI-1x for emacs-orgmode@gnu.org; Tue, 30 Mar 2021 18:59:07 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:38407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lRNK9-00066U-0T for emacs-orgmode@gnu.org; Tue, 30 Mar 2021 18:59:06 -0400 Received: by mail-wr1-x42b.google.com with SMTP id z2so17763289wrl.5 for <emacs-orgmode@gnu.org>; Tue, 30 Mar 2021 15:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pkutbuajELSPKceAvkQx+2CG3ycnezcYKph8SmVH71M=; b=Hb9Ky+gfVk8g4Q4pWJUFX2Az8wc8i1tU3+miDUhtTSGC6kgiCOTPws5IaW0+uzwG8a 3Sy+M/wF9nwwCrnMf4cL9fKywd57Ynb3dYWwVqxrhPWNqrU6SudE9zXY779dsLQKz+3Z pUq7hOBuPQINwR4SBBcBBV3u+sJTYCeBywkjchLwOLnLHgX1/LimjvC2ihw8E17nU8rS TTlH6LwM9DAcKZzJaeSFJwyuEJGn+DIYbV7eFjpaHZt7b2e97RUtpL+qvNTR8OQ+tK5f iGq99/P1LN68GyMWU9Ki8L8qo+93DngA4111ncRpl8TxC1+r5xLdt+Pww1v13EA//TTS qCyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pkutbuajELSPKceAvkQx+2CG3ycnezcYKph8SmVH71M=; b=gCYS5k9BeKlqR4wTZb3vqURfJNa2L0Dtvc3hA1SaG0shdQZXpKX5mRTHq/4ujanRlC AqVWg6BjYzwhHz7uuE2mmPy9669SvsWuhwlvZ3rek3pZj3j1+x9RBhAE3oXlU35Y991f b59fUykFdRrgZ4tmXCE81/RmKsSZlza96fwIckO6OXEZt0+G0E6Zi0Hc/mlw8sdgQJ9E XQxqVP3oEvQ7prz6aIW2Yv31bWasM3j/EjVsVD4Wos6uFG22YyXrX+refkzgacY4YfW1 7YU0ziREPBYdgbzKaVomEz+ePo5TQtAQUgkJsPbm6WO89Cdn+VnhCu+oZRYY/zarcvNy Gn5A== X-Gm-Message-State: AOAM532Wpo2OGjHbcY9ckmuGivG5ojBSgj9HlfrseJHvR+CCVVbSU7jB c/FBBrVH6T8J4qmV031LQNtawqjaw8/ZaRlVCSM= X-Google-Smtp-Source: ABdhPJyryrmmQUw2z0ASxVuFW12wJexCqurG1HStuY2m9y/ICr7NKNR8+ntmirjeyVAfzk5V85XwScpK3PN7Ft10Yvo= X-Received: by 2002:a5d:4286:: with SMTP id k6mr289706wrq.278.1617145136406; Tue, 30 Mar 2021 15:58:56 -0700 (PDT) MIME-Version: 1.0 References: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> <874kjndkad.fsf@kyleam.com> <CAHa53uzYX5iUk-xmC_np4Vi_YyawQKdXXeOMHoV79qDDtkudGQ@mail.gmail.com> <87pn2933j1.fsf@kyleam.com> <CAHa53uxhMju=sQf8s=XVs-ZfhFijbTESG7MamWofDTHZTcA+2A@mail.gmail.com> <87bldjszfn.fsf@kyleam.com> In-Reply-To: <87bldjszfn.fsf@kyleam.com> From: Tim Visher <tim.visher@gmail.com> Date: Tue, 30 Mar 2021 18:58:20 -0400 Message-ID: <CAHa53uwbou=yeusNhwteCNv2i6-k=Xknmo8HGQCY=k29yQ_XaQ@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: Kyle Meyer <kyle@kyleam.com> Content-Type: multipart/alternative; boundary="00000000000067e33305bec8f1d5" Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=tim.visher@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617145235; 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=pkutbuajELSPKceAvkQx+2CG3ycnezcYKph8SmVH71M=; b=FaO56nUJ2evrgYueoMGg+wMODCBfkSuy1QpU0ik/Nnl1Pxl8NuXgtudYJPrZyVsFRQsUry x4cBVKA0iWt5bCyfQ3FI6BbLrZ6C/NugbuLCI7wpdRcL4AS2YYDj9wwk83JzA+2lAmvG6p ZhBnx7DxCgelVsCGy7pAZTaww4BXYMeWO2RK2iIoFXPs6lzRZCR8ftMQJpTedfqy0dK+wA duoqRMsviTcpzUmgZlnkF4NWjsFk10YrtrrrLH/sD9Psa8ldTnInXWk02pBS/wXDFIQDFi 8pHKG5QOSSsPC4LCuS4AtYSI0dJjzVbLXKic1f4bVGWB/HLQN0Zf8UYFk3SVtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617145235; a=rsa-sha256; cv=none; b=AiN0knDhCBdCfridaJK3V3fyl4rydMTfcmz48SK/Fo8e9gFY5iOn5NyFOLtBAXn86dWydF NhujuadD7P4q1en3CV5D4wlLYc9jBf305vOAL8ZDMhx7fZh4hTBIagfaczDzM5XUaaSLwl S5hsRH4Zlxm4JXPRsZx8x1WLFs7VkDC4/jP2y00sXH7gr78Sw3NBfVx4IqrMIVC2uiztEt wBBpZH6pY1AYcY2Cx8Q6fWJKIMrQ7ZdCLnDe3qashOakIpH6VlQLzPOOHgrmkV+yHzuefD MzPOLVGvBxT7BPxaHCYiKDj7RG8DHmuJaOl2OpVqFa8I1zjraZrxbmE9m8fSvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Hb9Ky+gf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Hb9Ky+gf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4F9C62796F X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: jd7oULYcUa3X --00000000000067e33305bec8f1d5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 20, 2021 at 11:10 PM Kyle Meyer <kyle@kyleam.com> wrote: > Tim Visher writes: > > > Nice! I don't know enough about `org-export` but FWIW the use case I ha= ve > > is not to have an explicit `title` property but instead just the defaul= t > > title of the heading contents. I assume that's all handled transparentl= y > by > > the `(plist-get =E2=80=A6` section. > > > > Do you have any idea the timeline for getting that patch merged? > > It's been applied to master (f4b9f9808). Please report back if you > still encounter the problem in your use case. > I (finally) got around to testing this out. Initially I thought it had been released in 9.4.5 but AFAICT that's not the case. Does org not get released from `master`? Anyway, we're a step further now in that the title appears to be set using no markup, so that's =F0=9F=91=8D. Unfortunately, the title now is essentially the exact text of the org heading, which is awkward in terms of readability for a general audience (and probably for SEO etc.). I know I said in my original message that I think stripping all the markup characters would be going too far but now I think I've come full circle and rendering the title as nothing but the plain text without any markup information feels like the right solution given what the title is supposed to convey. So, would we be willing to accept a patch to that effect? :) --00000000000067e33305bec8f1d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Wed, Jan 20, 2021 at 11:10 PM Kyle Mey= er <<a href=3D"mailto:kyle@kyleam.com">kyle@kyleam.com</a>> wrote:<br= ></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">Tim Visher writes:<br> <br> > Nice! I don't know enough about `org-export` but FWIW the use case= I have<br> > is not to have an explicit `title` property but instead just the defau= lt<br> > title of the heading contents. I assume that's all handled transpa= rently by<br> > the `(plist-get =E2=80=A6` section.<br> ><br> > Do you have any idea the timeline for getting that patch merged?<br> <br> It's been applied to master (f4b9f9808).=C2=A0 Please report back if yo= u<br> still encounter the problem in your use case.<br></blockquote><div><br></di= v><div>I (finally) got around to testing this out. Initially I thought it h= ad been released in 9.4.5 but AFAICT that's not the case. Does org not = get released from `master`?</div><div><br></div><div>Anyway, we're a st= ep further now in that the title appears to be set using no markup, so that= 's=C2=A0=F0=9F=91=8D.</div><div><br></div><div>Unfortunately, the title= now is essentially the exact text of the org heading, which is awkward in = terms of readability=C2=A0for a general audience (and probably for SEO etc.= ). I know I said in my original message that I think stripping all the mark= up characters would be going too far but now I think I've come full cir= cle and rendering the title as nothing but the plain text without any marku= p information feels like the right solution given what the title is suppose= d to convey.</div><div><br></div><div>So, would we be willing to accept a p= atch to that effect? :)</div></div></div> --00000000000067e33305bec8f1d5-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id dZGpONMSc2DYAgAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sun, 11 Apr 2021 17:16:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KC15MdMSc2D7NAAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sun, 11 Apr 2021 15:16:35 +0000 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 44E579E54 for <larch@yhetil.org>; Sun, 11 Apr 2021 17:16:35 +0200 (CEST) Received: from localhost ([::1]:41334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lVbpC-0000qi-Ag for larch@yhetil.org; Sun, 11 Apr 2021 11:16:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lVblO-0007UO-Fu for emacs-orgmode@gnu.org; Sun, 11 Apr 2021 11:12:38 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:40467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lVblM-0002g7-Nx for emacs-orgmode@gnu.org; Sun, 11 Apr 2021 11:12:38 -0400 Received: by mail-wm1-x32b.google.com with SMTP id y124-20020a1c32820000b029010c93864955so7228270wmy.5 for <emacs-orgmode@gnu.org>; Sun, 11 Apr 2021 08:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0q/NWF3Id+1/EaL7/1FiPue/G8oj26Qaq8/uYK++RyA=; b=W8ctfGctyXdYOgF9FP/HpHXfGqCYeyYwIk23CYc0abWA4Tu2KE1beMN2JYKqIQ1bPK jRRXqQ4nd6Ca8LU5let0sBMxlSS7nNIcj8VzA+6DQU7KvGrMpd7AagTRZW8tZTPmKvnv in/Wg9qtd2s9f8SE0MPk7clTLMxcnlSh2fxfAKWLtoYHbFJpB476BICTKgfBkkjSpRp8 mWHf6YwxuJCpvOx/iZcrHlzRVT0ZhsdfWOaVQOX+bMvN7ipxPmXts3ex04Gn9Wvzo3+X AlCcu/qHL431MnAZWYFJuwAJLIwvlus5jGgXoVNO2yoK5B4s/mCnuCXsbg1cr2jf+VdH LXkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0q/NWF3Id+1/EaL7/1FiPue/G8oj26Qaq8/uYK++RyA=; b=bSK9BP6TX2t/JCNQDzAlYiJFZleM5MATbCqEszDDNypkKmog/s0ALXYsHtTiprX/AD lcFANDlIPrA0WdsISxij9BSETyQCp/XrZoyszBplhCCpxRmYqSttG7D/f0PhWFjBLTDg Y2VkPpurjhAzDxyIsjtIhqk7+uu4mj1PU8JnNPEYzCcWtmN1pzsh34rRO0zBHFEaOfIB qWEZj2enQye0WW5X0s2VoEzb+STDqP+Wp2+i4R7ox4XPjW0LlVkTk521RSx9sQIFsNqV nY75h/4AJMEykB8xWc8hDNax8XgM+hl/tZIslgFyZW9Gvk9SDU0OK3v9sfin1pN9D7U2 VfLg== X-Gm-Message-State: AOAM530IvtWyd7/tJv+E8MW+LDaxeGjGIXh/qDP0JWgXNivoMiSYuli0 iScd4e3q0QNM0PJj54DPdMpiQY4rIPPkhKugEPAMmpCa5wo= X-Google-Smtp-Source: ABdhPJw2nNd+43nK0xZe+UFao7npbJCfKuPl9II0flsPBpw9wsPXzcI7OCEpb1qw1S9S0PPVYgHMLtPhQHc9r2m7/e0= X-Received: by 2002:a1c:5445:: with SMTP id p5mr5151527wmi.5.1618153953867; Sun, 11 Apr 2021 08:12:33 -0700 (PDT) MIME-Version: 1.0 References: <CAHa53uwWmy0uu9SwsOge-==i3nW2Sa1pLeXQXPOU=PnxXH9rDA@mail.gmail.com> <874kjndkad.fsf@kyleam.com> <CAHa53uzYX5iUk-xmC_np4Vi_YyawQKdXXeOMHoV79qDDtkudGQ@mail.gmail.com> <87pn2933j1.fsf@kyleam.com> <CAHa53uxhMju=sQf8s=XVs-ZfhFijbTESG7MamWofDTHZTcA+2A@mail.gmail.com> <87bldjszfn.fsf@kyleam.com> <CAHa53uwbou=yeusNhwteCNv2i6-k=Xknmo8HGQCY=k29yQ_XaQ@mail.gmail.com> In-Reply-To: <CAHa53uwbou=yeusNhwteCNv2i6-k=Xknmo8HGQCY=k29yQ_XaQ@mail.gmail.com> From: Tim Visher <tim.visher@gmail.com> Date: Sun, 11 Apr 2021 11:11:58 -0400 Message-ID: <CAHa53uw7L2Zi-XanoBmVRER_Qjw403OqYSN6By9WiYr6SuO7tw@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: Kyle Meyer <kyle@kyleam.com> Content-Type: multipart/alternative; boundary="0000000000009cbb4e05bfb3d33c" Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618154195; 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=0q/NWF3Id+1/EaL7/1FiPue/G8oj26Qaq8/uYK++RyA=; b=uKlh6NEIUQwCylt8PNI1Bycjqh5E2EG+IFb+phgJ6bai2AuLOTJGIRLIMGdylpvD8xlvbL vaILDHcVZuUAKLY5PuGnmEmwpdvfPk9t/fiucLKJbzyYI3HGn3sNyg2A8glyR6mS2j89fW J+af9frZ8kDwc0qCK59yNvKoiAIL9Bat3yGFa5WmfDw+GhI1JV+PnAret7+/xnlqgcn3BC oeszwZVd3UzjAW1as63s+dmGpv+/y7cwNqMlvpjS1nBscNmesQVbQb4AwmIxPgMfK87hNd l/ZPffQYvYd+Ggyn5mvyMYocIM+n44fk+TyNCLeV0UKtchGFzQaWNqIbp3cfBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618154195; a=rsa-sha256; cv=none; b=YgZXipkTgwenCHaGOsiO9AtJPcsrr9K8NrtJoWtT3ok7GIQYkJq1tZuM1+/Tbhfsq7OyfT lk4pdupFZSmeBUmP5vXrfCvGShdeltH2U/11N4UkxptbB6fgwJSLOlH/KEls9tPkA94C1T U16k5N9u+O+7ZWaFmxRZfzKAXUSPRtYRkz08R6dYNbBz6J880qteA+YXfvh1hhiaGelsFh 5VU7Hr9RbkbxgHyx6EDBW75L0o6MhTaObeIz0mDrkyn6d34A2o6AYX4s0AJxsZKEs9K9+o d3lTxwfBG1+FyXMC6avAXrzadS2RgFPfIIvXw9rKQanVm00RSCopMyfYgm4tew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=W8ctfGct; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=W8ctfGct; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 44E579E54 X-Spam-Score: -1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: zUysq7Qa1nf2 --0000000000009cbb4e05bfb3d33c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 30, 2021 at 6:58 PM Tim Visher <tim.visher@gmail.com> wrote: > On Wed, Jan 20, 2021 at 11:10 PM Kyle Meyer <kyle@kyleam.com> wrote: > >> Tim Visher writes: >> >> > Nice! I don't know enough about `org-export` but FWIW the use case I >> have >> > is not to have an explicit `title` property but instead just the defau= lt >> > title of the heading contents. I assume that's all handled >> transparently by >> > the `(plist-get =E2=80=A6` section. >> > >> > Do you have any idea the timeline for getting that patch merged? >> >> It's been applied to master (f4b9f9808). Please report back if you >> still encounter the problem in your use case. >> > > Unfortunately, the title now is essentially the exact text of the org > heading, which is awkward in terms of readability for a general audience > (and probably for SEO etc.). I know I said in my original message that I > think stripping all the markup characters would be going too far but now = I > think I've come full circle and rendering the title as nothing but the > plain text without any markup information feels like the right solution > given what the title is supposed to convey. > > So, would we be willing to accept a patch to that effect? :) > Ping again on this. Any interest in a patch that would transform the heading into only plaintext without any markup characters for use in the <title> element? --0000000000009cbb4e05bfb3d33c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Tue, Mar 30, 2021 at 6:58 PM Tim Vishe= r <<a href=3D"mailto:tim.visher@gmail.com">tim.visher@gmail.com</a>> = wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote= " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr">On Wed, Jan 20, 2021 at= 11:10 PM Kyle Meyer <<a href=3D"mailto:kyle@kyleam.com" target=3D"_blan= k">kyle@kyleam.com</a>> wrote:<br></div><div class=3D"gmail_quote"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:= 1px solid rgb(204,204,204);padding-left:1ex">Tim Visher writes:<br> <br> > Nice! I don't know enough about `org-export` but FWIW the use case= I have<br> > is not to have an explicit `title` property but instead just the defau= lt<br> > title of the heading contents. I assume that's all handled transpa= rently by<br> > the `(plist-get =E2=80=A6` section.<br> ><br> > Do you have any idea the timeline for getting that patch merged?<br> <br> It's been applied to master (f4b9f9808).=C2=A0 Please report back if yo= u<br> still encounter the problem in your use case.<br></blockquote><div><br></di= v><div>Unfortunately, the title now is essentially the exact text of the or= g heading, which is awkward in terms of readability=C2=A0for a general audi= ence (and probably for SEO etc.). I know I said in my original message that= I think stripping all the markup characters would be going too far but now= I think I've come full circle and rendering the title as nothing but t= he plain text without any markup information feels like the right solution = given what the title is supposed to convey.<br></div><div><br></div><div>So= , would we be willing to accept a patch to that effect? :)</div></div></div= ></blockquote><div><br></div><div>Ping again on this. Any interest in a pat= ch that would transform the heading into only plaintext without any markup = characters for use in the <title> element?=C2=A0</div></div></div> --0000000000009cbb4e05bfb3d33c-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id F88jGUNEfmD7wAAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 20 Apr 2021 05:02:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qEe2E0NEfmB9VwAAB5/wlQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 20 Apr 2021 03:02:27 +0000 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 B6F28188D2 for <larch@yhetil.org>; Tue, 20 Apr 2021 05:02:26 +0200 (CEST) Received: from localhost ([::1]:40034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lYgef-0004Yn-9N for larch@yhetil.org; Mon, 19 Apr 2021 23:02:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1lYge6-0004Yd-QD for emacs-orgmode@gnu.org; Mon, 19 Apr 2021 23:01:50 -0400 Received: from out0.migadu.com ([94.23.1.103]:10471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1lYge2-0008Eg-M0 for emacs-orgmode@gnu.org; Mon, 19 Apr 2021 23:01:50 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1618887701; h=from:from: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; bh=dM+vqiijpKix+w9yqFYQ7+T3znokw9N9/pMAq+8ec3U=; b=Tn72gM8g1IL0of6WsNr6p23gD8Cx4ltxhdryIKr16Pt5juRVyT/uR8Ar1KAOmgCvL3+YSD i62a1E+SduQITmByf5GRnBLkGE1WCE4tE6NwW/rAnfInz++YbtnynXGGsACO4JTPtkZfqU Fo+PQkpMSY2QbO9/Snma0EATVhWlhbsAsu1DNoNO4aVexfwPzX4fyKSAoGA3qPjOY0+qcc jHdMT+7pqeqepU6snHDR3x/GMwvc3HNW1C6GjfbEpNU2bcEjNPFRlJNy/08UpGRtrKCFa1 jrABex5V39Ycl4TNVAfkNUGudzMmL2PR5GQgFzlE10DadqIoER13ALuYa6LbaQ== From: Kyle Meyer <kyle@kyleam.com> To: Tim Visher <tim.visher@gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag In-Reply-To: <CAHa53uwbou=yeusNhwteCNv2i6-k=Xknmo8HGQCY=k29yQ_XaQ@mail.gmail.com> Date: Mon, 19 Apr 2021 23:01:39 -0400 Message-ID: <87fszly7zg.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.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, RCVD_IN_DNSWL_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618887747; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dM+vqiijpKix+w9yqFYQ7+T3znokw9N9/pMAq+8ec3U=; b=vC/k+vKbhAV/DHDOyzIYajOX4PnXPT2Fi70XwKbU9l59cCmIhpzHElJjHR1hq4uuq0qts+ EVlRKfMmDd3u8uu7GpuL6CYOefPmxpZ2AE2Qwk9W3ypg/6zUDFD05I/0ahTjIzLM5r/nb8 QpNVL0M67m2RQu/nLFmwucHkrLpm4c8xyl2QaAwVJGLaD4qdmwA1mjK5TCdvom25r4+r/8 +KizD13O5alkGLVUaSGoDbonSDpgKvwM5FynMA2lL4YKPeqVwOBn18Alw2BwmsSCOeeWrp YhFBjTqQdEOXPbftjpjRuGIolWhsvIjttbx0/D3UAMrY71vvu7uFZ66UEXuRNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618887747; a=rsa-sha256; cv=none; b=S/DLeNZp0nEYuOiagqL4vfraJXxusNNTEtcijJOh+4lUgDDXivchxMaKF/QwFxXYAiB3+B Q9y2hrkg7U1Qtd9kXQEfsv47zuO0M8ENGPp0R3xQ+kaPUZ+BTpcfHfZ1AwE0w/m8HJ+G+6 F740o2nnLTi3Hfb/BtpXX2ik43JCP3Xu37lBvR7AEi3P0SY/X9Pl5BmeTxxFZX6mdEiCWl NoskEMuVpwnG3rZobMCz/EVdnC2Z39RzIiiEOyIUDcd0K5wA2qjYL1ouVrPr8t1GriPc60 9XyKMy5YcwfXIcKKHNRvvOFRl69DdhB48t67CT2SJDI2xvWaQcUaeZWTnZRmPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=Tn72gM8g; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=Tn72gM8g; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B6F28188D2 X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7GSA8z656DPf Tim Visher writes: > On Wed, Jan 20, 2021 at 11:10 PM Kyle Meyer <kyle@kyleam.com> wrote: >> >> It's been applied to master (f4b9f9808). Please report back if you >> still encounter the problem in your use case. >> > > I (finally) got around to testing this out. Initially I thought it had been > released in 9.4.5 but AFAICT that's not the case. Does org not get released > from `master`? For version X.Y.Z, Z ticks happen from maint. > Unfortunately, the title now is essentially the exact text of the org > heading, which is awkward in terms of readability for a general audience > (and probably for SEO etc.). I know I said in my original message that I > think stripping all the markup characters would be going too far but now I > think I've come full circle and rendering the title as nothing but the > plain text without any markup information feels like the right solution > given what the title is supposed to convey. > > So, would we be willing to accept a patch to that effect? :) I don't have an informed opinion about the above, but providing a patch might prompt those that do (including TEC, the author of the above commit, as well as Jens, who provided reviews) to give their input. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wKgqK2PBfmDzrwAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 20 Apr 2021 13:56:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WCu6JmPBfmDIdAAAbx9fmQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 20 Apr 2021 11:56:19 +0000 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 43CBF1B383 for <larch@yhetil.org>; Tue, 20 Apr 2021 13:56:19 +0200 (CEST) Received: from localhost ([::1]:41936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lYozK-0005Sr-3T for larch@yhetil.org; Tue, 20 Apr 2021 07:56:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Jens.Lechtenboerger@wi.uni-muenster.de>) id 1lYiTb-00055p-L5 for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 00:59:07 -0400 Received: from udcm-wwu1.uni-muenster.de ([128.176.118.7]:50368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Jens.Lechtenboerger@wi.uni-muenster.de>) id 1lYiTZ-0004fC-9I for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 00:59:07 -0400 IronPort-SDR: LUi7lFghR8GGca2PPMbmHd5AIsbFOI0YdfQFpcuiQJ9Pc2q725u3ARmuI/pAaVADyuClsynzo2 yruf8O/1O6hfa9IZYafLkbCUFCHR1725+xC7W1ZhCt16F5wN3r5p7NQ81kx9N4bYMqwf+6mhkx MqF5AWYrdjm+CrbUNz4gtLK74+aE6ZrO8SDSbsk0FrwgxbeGbbLYYnrKiyzoTXw+k9vxq6/ar3 VJkmrID/6ft7bUYasW+kESpxn6uJQ2HKt6oktPobR6REFK4VoyCCnXvz38kysUAl+5PhZMdt6T e1I= X-IronPort-AV: E=Sophos;i="5.82,236,1613430000"; d="p7s'?scan'208";a="83559795" Received: from wi-exchange.wiwi.uni-muenster.de ([10.2.203.154]) by UDCM-RELAY1.UNI-MUENSTER.DE with ESMTP/TLS/ECDHE-RSA-AES128-SHA256; 20 Apr 2021 06:59:00 +0200 Received: from WIWI-MAIL-2.WIWI.UNI-MUENSTER.DE (128.176.86.149) by WI-MAIL-1.WIWI.UNI-MUENSTER.DE (10.2.203.154) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 20 Apr 2021 06:58:59 +0200 Received: from librem (92.116.44.67) by smtp.wiwi.uni-muenster.de (128.176.86.149) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 20 Apr 2021 06:58:59 +0200 From: Jens Lechtenboerger <jens.lechtenboerger@wi.uni-muenster.de> To: Kyle Meyer <kyle@kyleam.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag References: <87fszly7zg.fsf@kyleam.com> Mail-Followup-To: Kyle Meyer <kyle@kyleam.com>, Tim Visher <tim.visher@gmail.com>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Date: Tue, 20 Apr 2021 06:58:53 +0200 In-Reply-To: <87fszly7zg.fsf@kyleam.com> (Kyle Meyer's message of "Mon, 19 Apr 2021 23:01:39 -0400") Message-ID: <871rb5ft6a.fsf@wi.uni-muenster.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" X-Originating-IP: [92.116.44.67] Received-SPF: pass client-ip=128.176.118.7; envelope-from=Jens.Lechtenboerger@wi.uni-muenster.de; helo=UDCM-WWU1.UNI-MUENSTER.DE X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=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-Mailman-Approved-At: Tue, 20 Apr 2021 07:54:39 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org>, Tim Visher <tim.visher@gmail.com> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618919779; 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; bh=USC2dtsjjImi49y7ZojilLvQC3ZpRFLxgfA0pevw8sI=; b=EcYFqHdbD8Ket0Abce7HBIRXqpxAlgnBZV2IDW6XG9ql7QS/JVFQ4uKJDmJqdXyCwwn9zp iuwh95wYDfD/v8wTjrb/suxPpBmWjr/lDztgq0PZ7pECfUIbbZpBkDdRt2EYCKYgx/ayhN F43iQpyTDZYjAxBpM/chwMUmAHerOdSdITK7G0Nn2nctXASXnmMc6FhISEUoD2xpvvjDaR 2YCQrawVjMY0Ni0mEcokXJnxC79Ng4qr4OVmR7G7PY4HS6c4Zsw6iEsE34E02iiqAbqLSl Svj7n0tKhDJcJl2o8QD8SxwzdcrTSI6QICOWShFrVuyKBtxUy/TImFase/nnpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618919779; a=rsa-sha256; cv=none; b=S/FQlTkhSFM9AFrCI7j2A3gXDZ8McmFcLt4Cgs2BldGdrIvLVCAZ9lpMNd/PhHJvcf/ELx zF/HbtZ1UG6uBmyzEGfwqfMthMSYMk9uuZWkewjEJDpUXlS9df0ThX40ttzxsfu0oQgceP E5DD+81k6ONw6/76ShqodLCP41IBO58IW3LkTDwH1gXOre7GVxiEXQQCILebkA+QUf4qr6 Z/8xw7O3//bCR9JHfsCdC9p12GdcSY6LDmyPXPtjdt21RlM4lNqHLHZlk5cx2xZEnxrsoq EdY6dMNdDxRCEMQanBphUra+TN3HvidP22uFRy+oCdBaFwhLBlzzC7zRZDyI0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 43CBF1B383 X-Spam-Score: -4.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: mtQS/lBsMFv+ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-04-19, Kyle Meyer wrote: > Tim Visher writes: > >> Unfortunately, the title now is essentially the exact text of the org >> heading, which is awkward in terms of readability for a general audience >> (and probably for SEO etc.). I know I said in my original message that I >> think stripping all the markup characters would be going too far but now= I >> think I've come full circle and rendering the title as nothing but the >> plain text without any markup information feels like the right solution >> given what the title is supposed to convey. >> >> So, would we be willing to accept a patch to that effect? :) > > I don't have an informed opinion about the above, but providing a patch > might prompt those that do (including TEC, the author of the above > commit, as well as Jens, who provided reviews) to give their input. The following is not a strong opinion: The author writes =E2=80=9Cwhat the title is supposed to convey=E2=80=9D. If there is *emphasis*, why not export that as ASCII markup to HTML? With an additional option, authors could choose. Best wishes Jens --=-=-= Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEggw ggUSMIID+qADAgECAgkA4wvV+K8l2YEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYTAkRFMSsw KQYDVQQKDCJULVN5c3RlbXMgRW50ZXJwcmlzZSBTZXJ2aWNlcyBHbWJIMR8wHQYDVQQLDBZULVN5 c3RlbXMgVHJ1c3QgQ2VudGVyMSUwIwYDVQQDDBxULVRlbGVTZWMgR2xvYmFsUm9vdCBDbGFzcyAy MB4XDTE2MDIyMjEzMzgyMloXDTMxMDIyMjIzNTk1OVowgZUxCzAJBgNVBAYTAkRFMUUwQwYDVQQK EzxWZXJlaW4genVyIEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVuIEZvcnNjaHVuZ3NuZXR6ZXMg ZS4gVi4xEDAOBgNVBAsTB0RGTi1QS0kxLTArBgNVBAMTJERGTi1WZXJlaW4gQ2VydGlmaWNhdGlv biBBdXRob3JpdHkgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM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WLYbw8cvn79fvkMZNWA5N/FiE74URBjs1Eo3t2br8zyfezSrrSlp40HH8qdgOD1MCfL9MpQMGm 6oiZ6V19Mbl7mcK9SIuCDETtpJf6zBpmwdUDfvE45sP9Jhrwmh5tRgAAAAAAAA== --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kBkEOQZIf2CiSQAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 20 Apr 2021 23:30:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6AO8NAZIf2B/VgAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Tue, 20 Apr 2021 21:30:46 +0000 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 5EEFA26DB7 for <larch@yhetil.org>; Tue, 20 Apr 2021 23:30:46 +0200 (CEST) Received: from localhost ([::1]:45166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lYxxE-0007Oi-LE for larch@yhetil.org; Tue, 20 Apr 2021 17:30:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lYxwm-0007OX-J1 for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 17:30:16 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:51885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lYxwk-0004Os-7P for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 17:30:16 -0400 Received: by mail-wm1-x329.google.com with SMTP id z6so3225658wmg.1 for <emacs-orgmode@gnu.org>; Tue, 20 Apr 2021 14:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=HMxNWni8wyrp+FBTjNtXsdRYT9iCA8lhgOxHWaOWZqo=; b=HWCb95Dkm1JiuIbHp3UMbYQtPVpQirAOZbpkFGMCFWO7yk0dMaaNukLnjqy6lMrLzQ l1PNFxBhhkeAtCsgpItLzafMacfs6RXLJjwYybKdpYDU2829+Q94Wfohen1JFByCP3Jg oMv5wHT+RNuzZUXYI5jHM+LGdNwU9NNl3x+w6RnQQa+UUhFk+CTl7fYSJ9AAUyM2iYu0 IOgkA1EXbNQdDHi5Ui18ASb6tz+JsdVQlSvmRZPrOMzt7cIuBuV9FJc8XIs9rnXjAtsb /fbL7QeLCEiiuLCBeWrTN+8RZEiWphRzYARdC1duHW4AW7HYtluJYQSe+pS16IdlMOJD 3A3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=HMxNWni8wyrp+FBTjNtXsdRYT9iCA8lhgOxHWaOWZqo=; b=ed/Mcg70jdBKOh8zvYFP8owJRkVXtsI/3lsuQjmYfp8dETnd5Za3OuwQMB/1JtSMO/ rLtdZcr3ct7U59Y04u26Hgj7+eDY5K3RXW3frujqPAjJzrhZZ/G3bLirkvx61hUGcHve i46oKm13qfvSpmv5bjcNpqjo6l7hMlkX54Tgv4rDIRgkXJ3owrTV71eap0sOFj8oR7xN 8/EfDlCPEK4Ko2K4pQsa9EJCWv0pg7aJzbCkhA/3wJhahhf1FRKt8kQqoU6arAw1boGW V7+8Pd2AVbHyXxzNKrpyF4yv23bqvSqzZo5OZukjZiGjdD7Q0emsF7jWTLc+rtmSlhpv 7GuQ== X-Gm-Message-State: AOAM530wWoPlT9FeQZQuUZZW8oKp2s+IiHW+rBlJw5FzSj9eevqpzCMX ISLDV1E5/641O5Nb/iH9pcMFAmAK9qjWzlnz4ok= X-Google-Smtp-Source: ABdhPJyV9m+fggm1CxIZR8TuO8bzxRcrR3ZA4P9kP1kGH9eWPM/TrKZ82UGSyXNlB2uJk1Mv3DECaxAj6EjVGbPpg4g= X-Received: by 2002:a05:600c:19d1:: with SMTP id u17mr6177429wmq.111.1618954212336; Tue, 20 Apr 2021 14:30:12 -0700 (PDT) MIME-Version: 1.0 References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> In-Reply-To: <871rb5ft6a.fsf@wi.uni-muenster.de> From: Tim Visher <tim.visher@gmail.com> Date: Tue, 20 Apr 2021 17:29:36 -0400 Message-ID: <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: Kyle Meyer <kyle@kyleam.com>, Tim Visher <tim.visher@gmail.com>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Content-Type: multipart/alternative; boundary="000000000000bbe7ec05c06e2606" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618954246; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HMxNWni8wyrp+FBTjNtXsdRYT9iCA8lhgOxHWaOWZqo=; b=udSO2JNxjKT1e5YrgRku5Kt0MKG0iewY6bSzSxkjhap3Y/uVg4oZZ2dX+gWj5A0rsFHLgC rVIRZtgWneM3eWzZRTP4q7aYGo6EL8q2RpKAxSDZVDKw0AfVc7ilWw4fu4Pa9C5QZysSfe 6mdqXFPEUoOufal5SHo6WMclb0NsOUUgqcXolHcGmCysxdD/2ycOtEEYvYNOQPKB2svi68 lL7dugkIkXhl31Ios1k8zrcIF4hCKVVSb74GTw9XwrUfoVMFv+sP3oyyP6frowIWgJngua 8UeEBOV6k7RdzX4eleStENqckXzOP42DmYFyizHHTX+MrCoAOLtPepuq+P7P3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618954246; a=rsa-sha256; cv=none; b=ieoPBOLzbKQyr4lwf0tMfYfmg+CwTLWcTDP+bWIs8FYip7g8gfMJwIUk4lKWt/KNVflJDP YtcK50qVMN91Ab5s0q8AvwkeNRjXWtWV8hdp78gMsx4wkW8xnMm6wYaf5WXnAEObX+x/AY g/HHj8qO+KlH+LVQJHv6bNfIGZHlLHkA8eQBdk5vfJOMxsosqA907xRVMw/ffxXmP8Bvwd dk29J9fd40VYocBbAfwmMGtZ1EWP3omHugVjPFg1t7XKrCCvX/GqZl2eMcTa24mRRYa2Ve LfOPmI/qKaHslSj14frNHpDtVKM7xvxPBkilp70O2UaAcNOZaHA4e6s8X9KoEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=HWCb95Dk; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=HWCb95Dk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5EEFA26DB7 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: VjnjUQpftp4f --000000000000bbe7ec05c06e2606 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks so much for getting back to me, Jens. On Tue, Apr 20, 2021 at 12:59 AM Jens Lechtenboerger < jens.lechtenboerger@wi.uni-muenster.de> wrote: > On 2021-04-19, Kyle Meyer wrote: > > > Tim Visher writes: > > > >> Unfortunately, the title now is essentially the exact text of the org > >> heading, which is awkward in terms of readability for a general audien= ce > >> (and probably for SEO etc.). I know I said in my original message that= I > >> think stripping all the markup characters would be going too far but > now I > >> think I've come full circle and rendering the title as nothing but the > >> plain text without any markup information feels like the right solutio= n > >> given what the title is supposed to convey. > >> > >> So, would we be willing to accept a patch to that effect? :) > > > > I don't have an informed opinion about the above, but providing a patch > > might prompt those that do (including TEC, the author of the above > > commit, as well as Jens, who provided reviews) to give their input. > > The following is not a strong opinion: The author writes =E2=80=9Cwhat th= e > title is supposed to convey=E2=80=9D. If there is *emphasis*, why not > export that as ASCII markup to HTML? > > With an additional option, authors could choose. > I guess I don't have a super strong opinion here either. Ironically, coming from someone who spends a significant portion of their day reading raw org/markdown documents with no problem, something about even the ASCII style markup in the title looks wrong to me. I don't do SEO and nothing in MDN's article <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title> indicates that non word characters have a negative affect anyway but it just looks strange to my eyes. I guess regardless it sounds like if I were to go to the trouble of making a patch for this it would be good to make sure that it was behind an option and probably defaulting to the current HEAD behavior of including the ASCII markup with an option to strip the non-word characters from it. -- In Christ, Timmy V. https://blog.twonegatives.com http://five.sentenc.es --000000000000bbe7ec05c06e2606 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Thanks so much for getting back to m= e, Jens.</div><div><br></div><div></div></div><div dir=3D"ltr">On Tue, Apr = 20, 2021 at 12:59 AM Jens Lechtenboerger <<a href=3D"mailto:jens.lechten= boerger@wi.uni-muenster.de">jens.lechtenboerger@wi.uni-muenster.de</a>> = wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote= " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex">On 2021-04-19, Kyle Meyer wrote:<br> <br> > Tim Visher writes:<br> ><br> >> Unfortunately, the title now is essentially the exact text of the = org<br> >> heading, which is awkward in terms of readability for a general au= dience<br> >> (and probably for SEO etc.). I know I said in my original message = that I<br> >> think stripping all the markup characters would be going too far b= ut now I<br> >> think I've come full circle and rendering the title as nothing= but the<br> >> plain text without any markup information feels like the right sol= ution<br> >> given what the title is supposed to convey.<br> >><br> >> So, would we be willing to accept a patch to that effect? :)<br> ><br> > I don't have an informed opinion about the above, but providing a = patch<br> > might prompt those that do (including TEC, the author of the above<br> > commit, as well as Jens, who provided reviews) to give their input.<br= > <br> The following is not a strong opinion: The author writes =E2=80=9Cwhat the<= br> title is supposed to convey=E2=80=9D.=C2=A0 If there is *emphasis*, why not= <br> export that as ASCII markup to HTML?<br> <br> With an additional option, authors could choose.<br></blockquote><div><br><= /div><div>I guess I don't have a super strong opinion here either. Iron= ically, coming from someone who spends a significant portion of their day r= eading raw org/markdown documents with no problem, something about even the= ASCII style markup in the title looks wrong to me. I don't do SEO and = nothing in <a href=3D"https://developer.mozilla.org/en-US/docs/Web/HTML/Ele= ment/title">MDN's article</a>=C2=A0indicates that non word characters h= ave a negative affect anyway but it just looks strange to my eyes.</div><di= v><br></div><div>I guess regardless it sounds like if I were to go to the t= rouble of making a patch for this it would be good to make sure that it was= behind an option and probably defaulting to the current HEAD behavior of i= ncluding the ASCII markup with an option to strip the non-word characters f= rom it.</div><div><br></div><div>--<br><br>In Christ,<br><br>Timmy V.<br><b= r><a href=3D"https://blog.twonegatives.com">https://blog.twonegatives.com</= a><br><a href=3D"http://five.sentenc.es">http://five.sentenc.es</a><br></di= v></div></div> --000000000000bbe7ec05c06e2606-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UJmDFaO2f2CnmwAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 21 Apr 2021 07:22:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yIQzEaO2f2CPHgAAB5/wlQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 21 Apr 2021 05:22:43 +0000 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 26663CCE8 for <larch@yhetil.org>; Wed, 21 Apr 2021 07:22:39 +0200 (CEST) Received: from localhost ([::1]:38672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZ5Ju-00080F-0j for larch@yhetil.org; Wed, 21 Apr 2021 01:22:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Jens.Lechtenboerger@wi.uni-muenster.de>) id 1lZ5JW-0007zv-Of for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 01:22:14 -0400 Received: from udcm-wwu2.uni-muenster.de ([128.176.118.28]:36788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Jens.Lechtenboerger@wi.uni-muenster.de>) id 1lZ5JU-0003br-0G for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 01:22:14 -0400 IronPort-SDR: PFdMXuKwdgry2bU3R2toTatkJR75aHX6iVwveDTfYllDevLBgK2a3ooHCsh+hxX3O17QVrXcVe +BqkwdxJvJ+KfhapXQJ7hGPu/Sbi2hNgKEBY3cltIfzwmO261ef7WA+zS3D68HuCRboONPaOd1 o1UapkOwJY/EDGrG1R/jphfthJhZ6/Gd7U71gS+voeus2Cef1gM9r0HML52IiuM70EoZ13etbn oRVXyulwCo3XQ1jM3xi3rnzLP+xWN0KMgtTlMvw8Q1l50vOruYdanzvZuXRDXqqCgD2CQ9Ry8H +Ug= X-IronPort-AV: E=Sophos;i="5.82,238,1613430000"; d="p7s'?scan'208";a="80890298" Received: from wi-exchange.wiwi.uni-muenster.de ([10.2.203.154]) by UDCM-RELAY2.UNI-MUENSTER.DE with ESMTP/TLS/ECDHE-RSA-AES128-SHA256; 21 Apr 2021 07:22:06 +0200 Received: from WIWI-MAIL-2.WIWI.UNI-MUENSTER.DE (128.176.86.149) by WI-MAIL-1.WIWI.UNI-MUENSTER.DE (10.2.203.154) with Microsoft SMTP Server (TLS) id 14.3.498.0; Wed, 21 Apr 2021 07:22:06 +0200 Received: from librem (92.116.21.175) by smtp.wiwi.uni-muenster.de (128.176.86.149) with Microsoft SMTP Server (TLS) id 14.3.498.0; Wed, 21 Apr 2021 07:22:06 +0200 From: Jens Lechtenboerger <lechten@wi.uni-muenster.de> To: Tim Visher <tim.visher@gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> Mail-Followup-To: Tim Visher <tim.visher@gmail.com>, Kyle Meyer <kyle@kyleam.com>, "Emacs Org Mode mailing list" <emacs-orgmode@gnu.org> Date: Wed, 21 Apr 2021 07:21:55 +0200 In-Reply-To: <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> (Tim Visher's message of "Tue, 20 Apr 2021 17:29:36 -0400") Message-ID: <87y2dcmcuk.fsf@wi.uni-muenster.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" X-Originating-IP: [92.116.21.175] Received-SPF: pass client-ip=128.176.118.28; envelope-from=Jens.Lechtenboerger@wi.uni-muenster.de; helo=UDCM-WWU2.UNI-MUENSTER.DE X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Kyle Meyer <kyle@kyleam.com>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618982559; 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; bh=9jhpXKa6pcw7/2Oe4Cw9wDBXjWLoQMrDfbyY2frHAUI=; b=Oe+O7pNg8ejTH1H+G0rb320/meI7WT4j7YO9GiERL1gFpe+Ns8EePFgWatBRwMkyTkSjXT Zxu3AoB/8VSA5qnEnx12txRAlgSgrHPo9F88nvYc1G6wBg8caUAJkQA3BjYBZnk+TtqJfw ibbo4PNAzMYtthJkXIo8Qv73FBrYLFdLhs9cTi1JoDeLkrsZ36MuZNDpG85CpMeG6uSaHn JlEBidFAUIdShj8xCOzvktLoVbVR/6pTnrLWXdv9szRF8zczMVtz0dwKcCmVOEkwgnxhnK 2Z1siLqNuN8wCbrJlNKX80eCaQ5S3Y7fQOq+sXf7V5JAdzRMJ4MXfkPONGlfzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618982559; a=rsa-sha256; cv=none; b=UdzH7BE0TMCbT3KoWgS3yWEZC52u7vVL3hAHhNxeoFnE5R0ny1b0e7C1U3sYiIhnifwEzR Phsb61IvH3PibpZnZyDcovkp3yrJdkQgjBdJ9ojLFhL0yjNovbj1kCNUJPpcEdOgnWJLiG zbA6YA3+6Kf87Wptl3saetIUtKu9mxQsBYAZP5FdiuGRrwKKR726eb/1AILxpwMJBfvvDd 7e0blWKFCd2KqsvIxayq1sWizqRUn1ap1UXr+lZf+UNIsYibU52pyke7F9+T+juCtyaWmG 8y6Fds3bkJr7h/zB0LK3vLCJcLjfEYhurGdsBN6hQDArFmzGtwv52n9atg4xxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 26663CCE8 X-Spam-Score: -4.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: qtBfxMGQlo/t --=-=-= Content-Type: text/plain On 2021-04-20, Tim Visher wrote: > I guess regardless it sounds like if I were to go to the trouble of making > a patch for this it would be good to make sure that it was behind an option > and probably defaulting to the current HEAD behavior of including the ASCII > markup with an option to strip the non-word characters from it. That would be great. Best wishes Jens --=-=-= Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEggw ggUSMIID+qADAgECAgkA4wvV+K8l2YEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYTAkRFMSsw KQYDVQQKDCJULVN5c3RlbXMgRW50ZXJwcmlzZSBTZXJ2aWNlcyBHbWJIMR8wHQYDVQQLDBZULVN5 c3RlbXMgVHJ1c3QgQ2VudGVyMSUwIwYDVQQDDBxULVRlbGVTZWMgR2xvYmFsUm9vdCBDbGFzcyAy MB4XDTE2MDIyMjEzMzgyMloXDTMxMDIyMjIzNTk1OVowgZUxCzAJBgNVBAYTAkRFMUUwQwYDVQQK EzxWZXJlaW4genVyIEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVuIEZvcnNjaHVuZ3NuZXR6ZXMg ZS4gVi4xEDAOBgNVBAsTB0RGTi1QS0kxLTArBgNVBAMTJERGTi1WZXJlaW4gQ2VydGlmaWNhdGlv biBBdXRob3JpdHkgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMtg1/9moUHN0vqH l4pzq5lN6mc5WqFggEcVToyVsuXPztNXS43O+FZsFVV2B+pG/cgDRWM+cNSrVICxI5y+NyipCf8F XRgPxJiZN7Mg9mZ4F4fCnQ7MSjLnFp2uDo0peQcAIFTcFV9Kltd4tjTTwXS1nem/wHdN6r1ZB+Ba L2w8pQDcNb1lDY9/Mm3yWmpLYgHurDg0WUU2SQXaeMpqbVvAgWsRzNI8qIv4cRrKO+KA3Ra0Z3qL NupOkSk9s1FcragMvp0049ENF4N1xDkesJQLEvHVaY4l9Lg9K7/AjsMeO6W/VRCrKq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gi8xAWqcvdsrVPJg9REEWOmMDcUzrLxiLZpQ+nt75chlffqtPn4kH6XfAms+9mh3rHQDGC AmAwggJcAgEBMIGeMIGNMQswCQYDVQQGEwJERTFFMEMGA1UECgw8VmVyZWluIHp1ciBGb2VyZGVy dW5nIGVpbmVzIERldXRzY2hlbiBGb3JzY2h1bmdzbmV0emVzIGUuIFYuMRAwDgYDVQQLDAdERk4t UEtJMSUwIwYDVQQDDBxERk4tVmVyZWluIEdsb2JhbCBJc3N1aW5nIENBAgwhJs7fgWghqpbkZggw DQYJYIZIAWUDBAIBBQCggZMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUx DxcNMjEwNDIxMDUyMTU1WjAoBgkqhkiG9w0BCQ8xGzAZMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0D BzAvBgkqhkiG9w0BCQQxIgQgVNuyL/ZQq5UzIt8QvCVBTtUN9p51TDSWeWcWy5xNvHwwDQYJKoZI hvcNAQEBBQAEggEAZQ8V8Mw7h3gjW/BFOsqpXvvPAnyDvM0RGsEowL18cAXiX45O3/k4YnmpsTWH 8o1BXdf1rS0sLnMiczcL6wbmNf7GoKpJEJ1eEiR5JduKnwcGpbLXh2ZirenizjQDzTn1v4wMZUeA oR33MTSmbc2+5WcQ6xTkpGxdcnNGDnjUazkmVO6V7ctTq5j/J+l2NeREjiUYz4zND57BpgYBmX98 itfnauxweZrjwAfKBilLe+gpPrgFbSt47TXDeD7tugyZexvkV4BYcU1B/jWD7qmJV1z4c3W3tlfD 7CVOLz/kkh6SErSnjdhTFj7u7jsdZuu8bGF8VkHcZVr2TwgFapOb/wAAAAAAAA== --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qCzuAPzIf2DA7wAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 21 Apr 2021 08:41:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YJtJOPvIf2BMYwAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 21 Apr 2021 06:40:59 +0000 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 74FFADF95 for <larch@yhetil.org>; Wed, 21 Apr 2021 08:40:59 +0200 (CEST) Received: from localhost ([::1]:56616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZ6Xi-0005lC-Gv for larch@yhetil.org; Wed, 21 Apr 2021 02:40:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arne_bab@web.de>) id 1lZ6WM-0005kz-Oe for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 02:39:35 -0400 Received: from mout.web.de ([212.227.15.3]:41797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arne_bab@web.de>) id 1lZ6WK-0007cK-DS for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 02:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1618987167; bh=ld1UNZ/OscNiEbfYgySfCT2OoEnsASUfvUpNbhcl/Xo=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=Tyn0Ap9IcmLWznQcZ7AGQo1DsXsWMiMSpvSozwmUZDhNAgA2k7VmuCCkpiXDLjLyy NX/51Ak0Ah97kBiadJ0yRQ0ErPBflZU8SWEnMEkmRzbjAI/XxXpFI4btQIGPyFlOaO JbmN47Jq0om7UrdtLtDzK0TeXAouI4yWFhel5CFI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([84.149.87.33]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LkhAC-1m74I72dzo-00aVL8; Wed, 21 Apr 2021 08:39:27 +0200 References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> <87y2dcmcuk.fsf@wi.uni-muenster.de> User-agent: mu4e 1.4.15; emacs 27.2 From: "Dr. Arne Babenhauserheide" <arne_bab@web.de> To: Jens Lechtenboerger <lechten@wi.uni-muenster.de> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag In-reply-to: <87y2dcmcuk.fsf@wi.uni-muenster.de> Message-ID: <87pmyo16qr.fsf@web.de> Date: Wed, 21 Apr 2021 08:39:24 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:JsaUmZ7Dj6QxwYH3rhQozlIPIsAwUQjIuinlSNEia/A+euJl6BV 33Aoh1LekzTSBoczJ4K6ZQ0sXSPmWDfK9PooK6AuQ/2cctvKwvUlMJT5eSGXY/sIuQg2Xsf XKeUgnBZ1Qap1lR0HRQyCCYGNN+e9dSUjoy/5DTzqoiO6js0Y0oZG3KjIy7JaqaLFhogf6g DChcFfRwfTekNmPzz1kMw== X-UI-Out-Filterresults: notjunk:1;V03:K0:wvxWtKDGIUM=:DsfsyK/4a74IZ2hMH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PzTcblGf/dTfspe0qEySx0TZ2SBsFgaNJg2qxT ZpMw2qpVSAmUVrCsC9kM5stn+A3z048xit76mYjI/aqPDUXTVvTFRtAoxAsa1HOGaoZ7cbJq+ uRRzOoeU3k/C91UYdjc9vMMQ5uQY3SPChbf/r+fX9aHiaZf4xfRJQeEnpITySSMdNAJ1A= Received-SPF: pass client-ip=212.227.15.3; envelope-from=arne_bab@web.de; helo=mout.web.de 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: emacs-orgmode@gnu.org, Kyle Meyer <kyle@kyleam.com>, Tim Visher <tim.visher@gmail.com> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618987259; 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=ld1UNZ/OscNiEbfYgySfCT2OoEnsASUfvUpNbhcl/Xo=; b=ghBWhAjhOofWTzzK97kDPPAiixu1sP9AJOyVPyyXpS3kXhbXR5bk39XIWbTgZklw4hkvS/ fODu5sCjb/zEHyu9AXd43bcmt7DDNjpIeKNsO+MtA72GL4ml4Gmo8EOqqVYC2lMz8mjVGd Y2HG9jcFTjkb0tgQbJ+MJDDsEMWatwgOar+na9Fh9c1zs/e2SQ0bP/AQX7btg/F9Hbk4ZA XlfgdmJ4LIfgMk38pGnOaQ3cCNHhma/IDJuiN+5hyjqfLR69ofztCk196ugRRtqByHK+Vh gjJ2fHPVOURY3vLVLUvjtDozP4QsEoZ/5oz7swTfTMid4yQlKfvNBWuvUMOOjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618987259; a=rsa-sha256; cv=none; b=E7VEFbpilFOeIZUnAc6INSWciLyhF/nhjASpysmQaI4O9DIEKhgQF9sE6s/1+f/L6s9SWj H/f9ObvsAlL8UJ0LxCMd5R+nWOTwpl9PtRvXZRBurtlasfuG1j+34eEZ4gIwcQCNGeqD+e MYwVYm7NFdmyE6vCLG3y5DqLbt4NwGB8MVBkjA+w7/hgzwclRv52obcJ0Ifr6k00dLP5mk uw0RkEgiNumXw5a9N2ndugB9CmudFiHGpliF7vxQ6cfeVBT7o56T8a6tc0oXUWSknFDBw5 Bn0kYVQN5PODWjUcjoIqddeFC8OkziVT5bDjGSUSO32P/daYqCxidqXI2PlQxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=dbaedf251592 header.b=Tyn0Ap9I; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=dbaedf251592 header.b=Tyn0Ap9I; dmarc=fail reason="SPF not aligned (relaxed)" header.from=web.de (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 74FFADF95 X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: O3Hk2AkJg3ni --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jens Lechtenboerger <lechten@wi.uni-muenster.de> writes: > On 2021-04-20, Tim Visher wrote: > >> I guess regardless it sounds like if I were to go to the trouble of maki= ng >> a patch for this it would be good to make sure that it was behind an opt= ion >> and probably defaulting to the current HEAD behavior of including the AS= CII >> markup with an option to strip the non-word characters from it. > > That would be great. It is something that could also benefit the LaTeX export. Having special characters in the pdftitle can make the export fail, but those characters (like @@latex:\something@@) can make the latex-compilation fail. Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmB/yJwQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD6xVMD/9RfPgwGC4Oyf0YemBEFdu6cpW18Y/yLFze 00njm6gvkpb7j2m2imO0s6W+nQqMTtEWIz3qQEpqSuY0npjmRFPqoKy5fzkcMNrw 6MRxwc72HztUNS0AdFEXa2UxMDewNkjau9vCx1i1/xFPV4uLwya+WnQ8mWAZlN87 veqCXDIS9Aq3ypCLAA8DZQPRXM7BckKSt4wGfQsQldXEMxwlI3WYALbmJ0A0xwsV yTZBdmEPiIa6O9e9/s2aN7fkHaUXlLBZtr3b4Jm96QwezD3715TejNcKEFptyOON N2tiZRP0BfSxnBIrfznX+PWdGVImki63ErC8U5D6mxWik+8yj8erTtAgWRTISkWx +bZb0SNTNtSvq5QLCgt43XPn5IWdoOMzAyH/5WYnnAFa+AgLlvQVMKXGnPso+byZ RLaBEbHmpp2GSvJ6oLO2mC2jXjmD7XjI1pc5Kls6Wueqfw+onrjsR3zYIe8h6Sku wTbz0dndLbs7KABHC9x5Kp3tF3E2955bzpJfjmHXpJqBZMOu+cjtAxab9FSsuWM+ o7fCNdGQIvBVHY1GVDSbgRW2C7Hewv4GTCQXew3r7WYpFEy7OomgZAAXZLmko/53 /fyvnHwqpjGbuwR5/hI+4pcJhopzynjh/7HBcb3p4rAeGY/QFMQde1s7cPcZBrfV HG0pWBsXv4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmB/yJ4QHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSLhFA/0dZJR2aBec3Q15Z1MBInMd5nGK AE+OFr3LJch8xpwnZL3814dwJpprrD3bozcopv7IZkxpPRUReFq3emsBoPgXbk4w t2lU1XwOgsXuCwqX7nUlDMFghQiMUO6kqPgJr/w/qo6X9TwYJrNd8M3DLth46smc biEHnSPinZ1iS+8DIg== =pQyx -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gLWrN4U/gGBWVQAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 21 Apr 2021 17:06:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QDVrM4U/gGBoRQAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 21 Apr 2021 15:06:45 +0000 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 69FB9180E7 for <larch@yhetil.org>; Wed, 21 Apr 2021 17:06:45 +0200 (CEST) Received: from localhost ([::1]:52414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZER9-0006CO-4A for larch@yhetil.org; Wed, 21 Apr 2021 11:06:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lZEQV-0006B5-CN for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 11:06:03 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:38598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lZEQS-0004Gf-Te for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 11:06:03 -0400 Received: by mail-wm1-x333.google.com with SMTP id d200-20020a1c1dd10000b02901384767d4a5so1477288wmd.3 for <emacs-orgmode@gnu.org>; Wed, 21 Apr 2021 08:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R9dlAR/Nmf29NMnDh4+YW+qLV7eES1ltSw1p9AsC0Gg=; b=Z6mwGSc1MNQqD5NhTB7xn5AyK8Jkphut5CADtshQa+1ncRkUydaA4ZiE5GkpyPceLr Uo6jIIKbV4tR/OMKUTHpn+ymZDLaYLAyozmDs0xV+LWK7GLfxiFoOIz52eQmWLYUmao0 uNCdV+WUNRbEiV79FNoVF3NJqRJXgF5xKzT0dLRYY88rZS5i8+9M3bOkRYQYzvIqpUv3 uJUxoH99pJy4ajfgC/REUYzxylouyeH02sgM///cQBScL86+r9U2wWH6gmWgIileXOY7 AGamUXZK5YywL/wcH3jPAPt3A0jbYIsR2SsVFiiMAqHyA7p8YSthHHOlkU2MNP1YvmGP gpkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R9dlAR/Nmf29NMnDh4+YW+qLV7eES1ltSw1p9AsC0Gg=; b=PdB8fafHA2V0XiezieFPmAffRBlgUmJYYoAVSVBzBmkHPz+PLuTqXvgyAbVOva3G/i LwYTLgIF+P3UVtYHwv2wc1yAbciy7co3g805QxRlHh4I2VXjVzkqbEA85cdEQNUvlzyY VnHjbSGehfTxlhY83XvOI8uFiu3yZHwgmjwcrSvI5/W84A+snww1klZOLMSgFkUbt3+r Xdby9fpAYMVPDCVqkaNzI8dhcbdR0s959VsYBw8k3tiMkDlmQbEiu3MU+QS4ZiTm30g3 OEPI4nSWf0ptNrNWThu+n4U9OSEK9OA0JssYX2dFuLxsVRymaR7Shir+vDRlCfS7b+pl 1cpA== X-Gm-Message-State: AOAM5306QFuWGiCE2JmIAo7/awHVl24Iaemf6kkg+R8O++W9Vn5oImNw 5eqvlFJSxy1/aIsFMxwdb+iGP3i3FcOTE9/Yf/g= X-Google-Smtp-Source: ABdhPJzJ5tkYH/MXwjVOuPf1DdIkS5EQ/cPaIkI/97K+I4vIu1vIINYWTOH+dFUu0IrY7+4CKLKz/qUq0ss63lrdX0g= X-Received: by 2002:a1c:f60a:: with SMTP id w10mr10322043wmc.5.1619017558890; Wed, 21 Apr 2021 08:05:58 -0700 (PDT) MIME-Version: 1.0 References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> <87y2dcmcuk.fsf@wi.uni-muenster.de> <87pmyo16qr.fsf@web.de> In-Reply-To: <87pmyo16qr.fsf@web.de> From: Tim Visher <tim.visher@gmail.com> Date: Wed, 21 Apr 2021 11:05:23 -0400 Message-ID: <CAHa53uwwVYa9ndRBY2o3c+0THFi-e9OMFX0R4xw98arvKidDDg@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: "Dr. Arne Babenhauserheide" <arne_bab@web.de> Content-Type: multipart/alternative; boundary="0000000000007b9db805c07ce68b" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Jens Lechtenboerger <lechten@wi.uni-muenster.de>, Kyle Meyer <kyle@kyleam.com>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619017605; 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=R9dlAR/Nmf29NMnDh4+YW+qLV7eES1ltSw1p9AsC0Gg=; b=X49ISj1YS96XQQv4YFV3MEU/SHIwJXBN1lRwuK3tSBHrxvsv/Ye+72nFUN9JmZOGoJviYF utBIBOsZWGue0zwS3sCzB5EQnNJt3JMUEIMX64W3dHbj6l2de+ed3N8QF9KH/D0ZstaP3T oOYVJG3af9cbesJi81HlCsw4zTA+6cGvcyQLemW5ORVAdxt6Rqmh2uhWBOedWKx6sszquV ckVtfiuEeJ4spaveCml2jyB0PkC2wIGK/f2mfSlosIP69EfvWvEAAq9FGrd4hEPSkelVvJ 5nZ67wgraHJLjYGZyFSc7dtiks34C2kF8hNYd9GuM/pXL66Q3hMncIzllHt7jg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619017605; a=rsa-sha256; cv=none; b=gUbISGGD0g54sJelHwhcyntB8gwkAGBLrZWQGu0sb7cd5nqV00BLKL+QzzoT5r54LyJhMz K7WO9qLOPVxfRNHH1SpJZqq0guD7TU75pqCkzK/5zfWIIoh1ZkpFjIRrf4DTCH14/MT6FO GXK/eeY5rbzRnSJynh4h6g3VnbyHtaaLXzfAKHhfbsXCPwanXeLlqekOpCk9STkFIsUaEK 6pep5kblisMxNsA3NrMW2cs/iagErdMjUuVxrgnNCwwlpQRdftG6VOv87vnH8gv5477CXt XeV1Bv0Q56oklD87tBnETTd2JAfIRAW9G/wpE7UYlTpT7ci+EFioPdQOm3LG3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Z6mwGSc1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Z6mwGSc1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 69FB9180E7 X-Spam-Score: -3.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: sxYOIOQ/tu2t --0000000000007b9db805c07ce68b Content-Type: text/plain; charset="UTF-8" On Wed, Apr 21, 2021 at 2:39 AM Dr. Arne Babenhauserheide <arne_bab@web.de> wrote: > > Jens Lechtenboerger <lechten@wi.uni-muenster.de> writes: > > > On 2021-04-20, Tim Visher wrote: > > > >> I guess regardless it sounds like if I were to go to the trouble of > making > >> a patch for this it would be good to make sure that it was behind an > option > >> and probably defaulting to the current HEAD behavior of including the > ASCII > >> markup with an option to strip the non-word characters from it. > > > > That would be great. > > It is something that could also benefit the LaTeX export. Having special > characters in the pdftitle can make the export fail, but those > characters (like @@latex:\something@@) can make the latex-compilation > fail. Awesome. Do you know whether there's an official way to share this sort of behavior between ox backends or is it just creating a function and calling it from both places or something? -- In Christ, Timmy V. https://blog.twonegatives.com http://five.sentenc.es --0000000000007b9db805c07ce68b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Wed, Apr 21, 2021 at 2:39 AM Dr. Arne = Babenhauserheide <<a href=3D"mailto:arne_bab@web.de">arne_bab@web.de</a>= > wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"><br> Jens Lechtenboerger <<a href=3D"mailto:lechten@wi.uni-muenster.de" targe= t=3D"_blank">lechten@wi.uni-muenster.de</a>> writes:<br> <br> > On 2021-04-20, Tim Visher wrote:<br> ><br> >> I guess regardless it sounds like if I were to go to the trouble o= f making<br> >> a patch for this it would be good to make sure that it was behind = an option<br> >> and probably defaulting to the current HEAD behavior of including = the ASCII<br> >> markup with an option to strip the non-word characters from it.<br= > ><br> > That would be great.<br> <br> It is something that could also benefit the LaTeX export. Having special<br= > characters in the pdftitle can make the export fail, but those<br> characters (like @@latex:\something@@) can make the latex-compilation fail.= </blockquote><div><br></div><div>Awesome. Do you know whether there's a= n official way to share this sort of behavior between ox backends or is it = just creating a function and calling it from both places or something?</div= ><div><br></div>--<br><br>In Christ,<br><br>Timmy V.<br><br><a href=3D"http= s://blog.twonegatives.com">https://blog.twonegatives.com</a><br><a href=3D"= http://five.sentenc.es">http://five.sentenc.es</a><br><div>=C2=A0</div></di= v></div> --0000000000007b9db805c07ce68b-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2PVcFiWAgWCEnQAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 15:54:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id pQT5ESWAgWDYNQAAbx9fmQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 13:54:45 +0000 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 077361130C for <larch@yhetil.org>; Thu, 22 Apr 2021 15:54:45 +0200 (CEST) Received: from localhost ([::1]:42384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZZn1-00029H-MY for larch@yhetil.org; Thu, 22 Apr 2021 09:54:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@nicolasgoaziou.fr>) id 1lZZke-0000Ws-Bg for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 09:52:17 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:40291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@nicolasgoaziou.fr>) id 1lZZkZ-0003O9-AL for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 09:52:16 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 8A8B4200016; Thu, 22 Apr 2021 13:52:06 +0000 (UTC) From: Nicolas Goaziou <mail@nicolasgoaziou.fr> To: Tim Visher <tim.visher@gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> <87y2dcmcuk.fsf@wi.uni-muenster.de> <87pmyo16qr.fsf@web.de> <CAHa53uwwVYa9ndRBY2o3c+0THFi-e9OMFX0R4xw98arvKidDDg@mail.gmail.com> Mail-Followup-To: Tim Visher <tim.visher@gmail.com>, "Dr. Arne Babenhauserheide" <arne_bab@web.de>, Jens Lechtenboerger <lechten@wi.uni-muenster.de>, Kyle Meyer <kyle@kyleam.com>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org> Date: Thu, 22 Apr 2021 15:52:05 +0200 In-Reply-To: <CAHa53uwwVYa9ndRBY2o3c+0THFi-e9OMFX0R4xw98arvKidDDg@mail.gmail.com> (Tim Visher's message of "Wed, 21 Apr 2021 11:05:23 -0400") Message-ID: <87h7jy4ebe.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@nicolasgoaziou.fr; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Jens Lechtenboerger <lechten@wi.uni-muenster.de>, "Dr. Arne Babenhauserheide" <arne_bab@web.de>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org>, Kyle Meyer <kyle@kyleam.com> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619099685; 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; bh=KKgD2nD8JDOTFmor8iA+8EMYsI/IpUJgYuE1OOiSl7A=; b=pEOEeo4uxqGl30hht237i9eDbg7ABStkcc77RrXmWl6BrUXDPUqQJfuZniMPKQRyf6P4ZZ B4l3/6ZmnOqSfruOpDk847OnF3NYVRJtzK1p2YViaBzrtHq34WYywFSti/eme5RGNZ4MmE 3PIFoVtEbOdNqaqLYQJmjf1kBf5jHhMy2I+IJap0zzVFbSd3zotuh+q7au483q0l/MoGpF rvt7Fl/jHJr79EoDv1phaRQO513DtcsdRmT0VkPFWLYRLZBW+3KE1Bcf1W50sUE4Kyjt4z 44rh708TaYRHiO00Q568p+Oo1mcd3jlHUar60I/jxXweYHFFMg+5C4u30yQCWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619099685; a=rsa-sha256; cv=none; b=BeZ0j2VUPjclYJc8lRs3pl6qE+s4wxMsWRuqHoLZ0K8bMVuc6CHM37K7K96T5tbQvndz7G 8ZYRKoD7laWY7fsXDDlf5SqMrNpeoiCbTBwH5tl9abupHAqa2a/i4/oydNsY9giA6PIwJY tB+XU03k6OQSxGKzvduvjUakZSrU1tf6zVI49TfNN1kjjiphBw9Xt7x7emW36P3KgTuYul X7/HrdNjCwr418+gBG3z1EBL38J2IGqaizmHbfNKCCI/4WmtLDb86/QpQEewu+UQGs6dHP 1GgD++sB/b6NUKHzv1M8COBVRT9LyL3lGRwbw/Q/pzISXxNsE4/E8ck/o5RbXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 077361130C X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: p8HvzfcBDEgj Hello, Tim Visher <tim.visher@gmail.com> writes: > Awesome. Do you know whether there's an official way to share this sort of > behavior between ox backends or is it just creating a function and calling > it from both places or something? Do you want to remove all markup from some parsed text? You could define temporary export back-end with `org-export-create-backend', and apply it with `org-export-data-with-backend'. See for example, how `org-latex-headline' formats headings (`text' binding in the function). If that's the case, you need to know exactly what you want. It is pretty obvious for bold markup, but what would happen to, e.g., a_b or \alpha or <<target>>? HTH, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YLluMeCDgWB8rgAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 16:10:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oMUhLeCDgWBEAQAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 14:10:40 +0000 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 2B50C122F0 for <larch@yhetil.org>; Thu, 22 Apr 2021 16:10:40 +0200 (CEST) Received: from localhost ([::1]:34542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZa2R-0002qA-9c for larch@yhetil.org; Thu, 22 Apr 2021 10:10:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lZa1P-0002d7-JZ for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 10:09:35 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:36594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lZa1N-0005dq-Hh for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 10:09:35 -0400 Received: by mail-wm1-x333.google.com with SMTP id o9-20020a1c41090000b029012c8dac9d47so3348220wma.1 for <emacs-orgmode@gnu.org>; Thu, 22 Apr 2021 07:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=btzOOo1rEw6epByQNp+MfdN787xeF1qByH1ri7/mqdY=; b=SIZ0EYFQZpED2uSCHOpWF+bPqIZX9xd3pGoqgwaUoMRAkfO+IftSrBFWRiqeL9LSyh 7AYKdIBy9Kd6TDDatHW7SzeYQ//kjzU21wocYiNIHV/b45LqYIbkjnGAINgArdmfXNuQ x+u8ru+Gex0Ps57JmCOqRr+Ga1coS6sCgkK5XucIDHwdCi4nr6hxB1jOle/qywXlweKb wX4KGE/H9TTMSoGWdUbEr9avx1P9pR9DpJd9tuIBE4iGPeM4GoHBYBn/zor2DM6O3SJV sZzVbjj9wv1HfdHwc3xdLIqdbIElFvHEkboM/8U4gCqLombO4E7H70U2D8orr5sqGe1A zeUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=btzOOo1rEw6epByQNp+MfdN787xeF1qByH1ri7/mqdY=; b=ToVqyaiQrbAWG0qqvMvpk1ndxB+71n9ffwxVXbGRC9pwECqY9CMjbrWFLeNLX5Qo7V CQXhJ4Y/fnnBPm9oCyBaS9CCfvnchVD8Xly3cZmhGZC0bssmC7i7xwuA7R+sYU7uv8pF iYKhmTzCLUSoRsQRAOq5fh5lqauNdDDe4J5AA4zXrLi2QJ4aHFBoH5v9YLSTfKW5JGUn iO4DI1egqUSQQ9GF4jQ64Nqc3MUEas8GxHYKkBJPdqBnSUqMzrrM7dwq/7A6JTgDXt2a zGA0gx1eToEdbA6YNskKZE1jxp7nJOBlWUJMzG5bY7Ay9EklrO2Isiiwo6erOPv0ssNJ i5mQ== X-Gm-Message-State: AOAM532li93BbOkgTFLgNE7wgAYfzl0BIoBZkH1jcvHM22HxFN2xvAyv l/nkzSdwocaHoDWin7vB8SsP/vOH18Ak9ZDuQcg= X-Google-Smtp-Source: ABdhPJyOZOoIdIoqbg1A0gBldVks3tqBHI1hR3wMLwnHo59vkJSIiJ2y7MkCSlGZzLo4I83iKGZYk5dF9UdLnpdXpfk= X-Received: by 2002:a1c:b342:: with SMTP id c63mr4095147wmf.162.1619100571119; Thu, 22 Apr 2021 07:09:31 -0700 (PDT) MIME-Version: 1.0 References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> <87y2dcmcuk.fsf@wi.uni-muenster.de> <87pmyo16qr.fsf@web.de> <CAHa53uwwVYa9ndRBY2o3c+0THFi-e9OMFX0R4xw98arvKidDDg@mail.gmail.com> <87h7jy4ebe.fsf@nicolasgoaziou.fr> In-Reply-To: <87h7jy4ebe.fsf@nicolasgoaziou.fr> From: Tim Visher <tim.visher@gmail.com> Date: Thu, 22 Apr 2021 10:08:55 -0400 Message-ID: <CAHa53uxERrGDk=emzqAfQG5JmMsessQfMgoOtFUQTccAi4aYxQ@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: mail@nicolasgoaziou.fr Content-Type: multipart/alternative; boundary="00000000000065b4fe05c0903ae7" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Jens Lechtenboerger <lechten@wi.uni-muenster.de>, "Dr. Arne Babenhauserheide" <arne_bab@web.de>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org>, Kyle Meyer <kyle@kyleam.com> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619100640; 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=btzOOo1rEw6epByQNp+MfdN787xeF1qByH1ri7/mqdY=; b=dc9bOPdbXAIinj4whvT65o3yZpXLRSSzNF3M/eTuMuvbzpELBttQffIq4PiLtQPRdFHZuk Oadn4rOuvH8kK+ofxuc6dC4d1e9c8gC0IYwL7+h3SRSOfZ+RHwBYrytuy3d27hgTr3ZZxo 7EvXcJIdXaD77BbMKJMoCFWsN1+0fuM3B2N7zNGN9PIYvot70uAbMk5kNAU71qYJCT5lCC NTyTVQ9NWmeIHOKP2dNYmO4Sgnycw7HkOQGL5nXlku8U0yuBH6wHaGYvMzndtK9jfnzJ60 2DtJRATq/C+C0hXUaeaVTcjkAP/WXr/kDEj62rtQ43jsOAN1xLPlSQ9WdmfLEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619100640; a=rsa-sha256; cv=none; b=QYfiL2HtR4/eIS75+YcAdBEuJYasEwePJrjmKwIi7xB58h5MQ+OS3g5kze4CcnboLQ6ekp xn06l15UXti/CuxKatz/EuhNFY3tOXuOJYkgAlpc8YdlZxQbIs2zApeOVYEdgncVeEH+XT JBTCKv2FuMuWp3eYDUZxQhbmNBA8odNrCyekNorDbwIJJ627Yh0QREjIxN6XA++T++kto4 ANgPf4Fyuhou4EGMcwHFoqK0Wk10ZeuBboLmWxWcmEul1Apq2C4LLdLJY5vQ2UTCkkoMtc JkEOhIOTBd8Wy0st0A24p2ryWdiQde3F34lxJUo3BvuAcglrE1LFLmfWPVF3AA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=SIZ0EYFQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=SIZ0EYFQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 2B50C122F0 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: QIyVpDjrHS9k --00000000000065b4fe05c0903ae7 Content-Type: text/plain; charset="UTF-8" On Thu, Apr 22, 2021 at 9:52 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > Tim Visher <tim.visher@gmail.com> writes: > > > Awesome. Do you know whether there's an official way to share this sort > of > > behavior between ox backends or is it just creating a function and > calling > > it from both places or something? > > Do you want to remove all markup from some parsed text? > > You could define temporary export back-end with > `org-export-create-backend', and apply it with > `org-export-data-with-backend'. See for example, how > `org-latex-headline' formats headings (`text' binding in the function). > > If that's the case, you need to know exactly what you want. It is pretty > obvious for bold markup, but what would happen to, e.g., a_b or \alpha > or <<target>>? > Thanks for the tip. What I'm thinking more is somehow getting the heading pre-output generation, stripping any characters that `org` would consider special (I'm hoping there's already a function that can at least mark 'markup' text in a given org string), and _then_ passing it to whatever ox function is responsible for using the title. That way it's as generic as it can possibly be. I confess though that I don't follow exactly what you're talking about defining a temporary export back-end. Why would that be necessary or beneficial to the end of teaching org how to use only the 'plain text' of a heading for the title in N ox backends? -- In Christ, Timmy V. https://blog.twonegatives.com http://five.sentenc.es --00000000000065b4fe05c0903ae7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Thu, Apr 22, 2021 at 9:52 AM Nicolas G= oaziou <<a href=3D"mailto:mail@nicolasgoaziou.fr">mail@nicolasgoaziou.fr= </a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex">Tim Visher <<a href=3D"mailto:tim.visher@gmai= l.com" target=3D"_blank">tim.visher@gmail.com</a>> writes:<br> <br> > Awesome. Do you know whether there's an official way to share this= sort of<br> > behavior between ox backends or is it just creating a function and cal= ling<br> > it from both places or something?<br> <br> Do you want to remove all markup from some parsed text?<br> <br> You could define temporary export back-end with<br> `org-export-create-backend', and apply it with<br> `org-export-data-with-backend'. See for example, how<br> `org-latex-headline' formats headings (`text' binding in the functi= on).<br> <br> If that's the case, you need to know exactly what you want. It is prett= y<br> obvious for bold markup, but what would happen to, e.g., a_b or \alpha<br> or <<target>>?<br></blockquote><div><br></div><div>Thanks for t= he tip. What I'm thinking more is somehow getting the heading pre-outpu= t generation, stripping any characters that `org` would consider special (I= 'm hoping there's already a function that can at least mark 'ma= rkup' text in a given org string), and _then_ passing it to whatever ox= function is responsible for using the title. That way it's as generic= =C2=A0as it can possibly be.</div><div><br></div><div>I confess though that= I don't follow exactly what you're talking about defining a tempor= ary export back-end. Why would that be necessary or beneficial to the end o= f teaching org how to use only the 'plain text' of a heading for th= e title in N ox backends?</div><div><br></div><div>--<br><br>In Christ,<br>= <br>Timmy V.<br><br><a href=3D"https://blog.twonegatives.com">https://blog.= twonegatives.com</a><br><a href=3D"http://five.sentenc.es">http://five.sent= enc.es</a><br></div></div></div> --00000000000065b4fe05c0903ae7-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YHXPABeYgWCrIgEAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 17:36:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qMcWOBaYgWBMLwAAB5/wlQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 15:36:54 +0000 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 3FCFB1B6E5 for <larch@yhetil.org>; Thu, 22 Apr 2021 17:36:54 +0200 (CEST) Received: from localhost ([::1]:33854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZbNs-0000lq-Bi for larch@yhetil.org; Thu, 22 Apr 2021 11:36:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@nicolasgoaziou.fr>) id 1lZbNJ-0000lg-1H for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 11:36:17 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:45499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@nicolasgoaziou.fr>) id 1lZbNC-0004CR-TG for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 11:36:16 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 0D7DE1C0005; Thu, 22 Apr 2021 15:36:04 +0000 (UTC) From: Nicolas Goaziou <mail@nicolasgoaziou.fr> To: Tim Visher <tim.visher@gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> <87y2dcmcuk.fsf@wi.uni-muenster.de> <87pmyo16qr.fsf@web.de> <CAHa53uwwVYa9ndRBY2o3c+0THFi-e9OMFX0R4xw98arvKidDDg@mail.gmail.com> <87h7jy4ebe.fsf@nicolasgoaziou.fr> <CAHa53uxERrGDk=emzqAfQG5JmMsessQfMgoOtFUQTccAi4aYxQ@mail.gmail.com> Mail-Followup-To: Tim Visher <tim.visher@gmail.com>, Jens Lechtenboerger <lechten@wi.uni-muenster.de>, "Dr. Arne Babenhauserheide" <arne_bab@web.de>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org>, Kyle Meyer <kyle@kyleam.com> Date: Thu, 22 Apr 2021 17:36:04 +0200 In-Reply-To: <CAHa53uxERrGDk=emzqAfQG5JmMsessQfMgoOtFUQTccAi4aYxQ@mail.gmail.com> (Tim Visher's message of "Thu, 22 Apr 2021 10:08:55 -0400") Message-ID: <87bla649i3.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Cc: Jens Lechtenboerger <lechten@wi.uni-muenster.de>, "Dr. Arne Babenhauserheide" <arne_bab@web.de>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org>, Kyle Meyer <kyle@kyleam.com> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619105814; 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; bh=iqgVNeQTHG2cdg1aXAGEdu87PQEeJzBpCqp03Yj7eTE=; b=oQBwRA1K3bqEZmxRkq5qSZPP/hiE2TBdC6ns8XIMiJWY3l8i1FTJ8GBElkU1Um+bUXR4iT XhkrN9PC3SU7uHursT36McY2sWRwvgT8iLbcNhh/j5GaW9GXjundBNAJGpAaTL1a8w4ISn 38cgzQ31dEzeXkM4zVaMWOampHdVIaMRTPd3gPubrvD5RKAew3LnqNLye4GGmg9L9xLMVI UoiJ6+9gyF4BKn7jvXxYBgiXtOunBn8qVLmULpu/ibminSHdp3MYHnJaSLexiRw5/Ng30w mNljpnWptFR7K9wyJMDJxYcAMAOJlaNKAYYv8ZpPEE/Q1xhx2Ta/G0JcEmnhqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619105814; a=rsa-sha256; cv=none; b=fCpj3iLYEfK97xNz87CuWdnMpu7nOfGY9Gxso0fEvfIGyKoSFafdapoBfYI62A2ciWJYOs XtCOra2FvLPfIO/aDnJEpxnZoL+3V3inGTSERbNMEOLdsZAkushFSC8E0b2Xk/hSw/JnKo xQJina0Vfrpxv9X+3BxIiTA898tDm6IaHet4CnSMnUoCLCIXs9prObnSVvkrtsLHIkiO8F ObrO2H/a5FCNRYDarWGCXb8J9bNIEtKsrHDmmRf2CkgkQGUTzFUbiNp8EtxyfpCQFKHhUs /8E9DQTSeLrL8uY7Jq11TcM1InroLOh9iK6LG6MFix5d8BASBHzA+psirTHr2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.57 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 3FCFB1B6E5 X-Spam-Score: -1.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: UpYQ8ESqmruW Tim Visher <tim.visher@gmail.com> writes: > Thanks for the tip. What I'm thinking more is somehow getting the heading > pre-output generation, stripping any characters that `org` would consider > special (I'm hoping there's already a function that can at least mark > 'markup' text in a given org string), and _then_ passing it to whatever ox > function is responsible for using the title. That way it's as generic as it > can possibly be. What format has "heading pre-output generation"? Is a string or is it parsed data? The first part of your paragraph sounds like you want to rewrite an Org parser. How do you pass it to ox function responsible for using the title? I.e., who/what is responsible for making the change to the title? Is it the user? You may need to clarify your specifications. > I confess though that I don't follow exactly what you're talking about > defining a temporary export back-end. In `org-html--build-meta-info' from "ox-html.el", replace the following (org-html-plain-text (org-element-interpret-data (plist-get info :title)) info) with (org-export-data-with-backend (plist-get info :title) (org-export-create-backend :transcoders '((bold . (lambda (_ c _) c)) (italic . (lambda (_ c _) c)))) info) Now re-evaluate the function `org-html--build-meta-info' and try exporting a document to HTML with a title containing bold and italic syntax, even nested, e.g. #+title: /Some *bold* text/ > Why would that be necessary or beneficial to the end of teaching org > how to use only the 'plain text' of a heading for the title in N ox > backends? Adding the function `org-export-strip-syntax below to "ox.el" (defun org-export-strip-syntax (data info) (org-export-data-with-backend data (org-export-create-backend :transcoders '((bold . (lambda (_ c _) c)) (italic . (lambda (_ c _) c)))) info)) you can now call it from any export back-end whenever its needs to remove syntax from a piece of code. You can also drop the info argument and add it to "org-element.el". But it depends on what you want to obtain. Also, some syntax is not obvious to strip, as I suggested in my previous message. Regards, From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yCDwFwS0gWC5VwAAgWs5BA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 19:36:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KALMEwS0gWBKFwAA1q6Kng (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Thu, 22 Apr 2021 17:36:04 +0000 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 8E68D16243 for <larch@yhetil.org>; Thu, 22 Apr 2021 19:36:03 +0200 (CEST) Received: from localhost ([::1]:59356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1lZdFB-00069a-J0 for larch@yhetil.org; Thu, 22 Apr 2021 13:36:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lZdEF-000696-Ve for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 13:35:04 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:36707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tim.visher@gmail.com>) id 1lZdED-0002bX-Qf for emacs-orgmode@gnu.org; Thu, 22 Apr 2021 13:35:03 -0400 Received: by mail-wm1-x32b.google.com with SMTP id o9-20020a1c41090000b029012c8dac9d47so3708487wma.1 for <emacs-orgmode@gnu.org>; Thu, 22 Apr 2021 10:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bDXK3KKa0OsZbZsUutDVuMfqbeexK7dr3fv1RhfET1A=; b=s8LJgivHHYMYMFB4OcD0JpuJkEb2/Dr9EnlOE4SMA08musAo3s6+JQqwVJdXkW1P40 IOHzawrpOOgZznEMyre9F9GexgIlHJ6ZmAJz0QpzlxN4VeFTZqeGCnZMdrPjZyy2BZjc aHX9q44a8viGNaUDHlxnTJ+V9tTFlZt7xaD2WF7nx0dI0ouEtOcIPl6v6EuznABCMsR4 ZEhz9wUO6wBe54jRMtuzsZmGDl3qoosokOBFiPagM5fWjZ3aUuyxE+jPB3oTnxQz92zL A+bT/G02Qr1AJ90OCbRY2P0mW5VNx1kBIpEbG9J5LMcygzTaUc/hfeLm0FWpSK6kg6eJ AfJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bDXK3KKa0OsZbZsUutDVuMfqbeexK7dr3fv1RhfET1A=; b=RwybICyMBNeQaclqqDlwo2mL+oBssudWamXva7IBJzy/VdSnQ5cPc8DMuL8Y8aTCAm zae7du8CzWg1X1ixgAPyeZiAwIXUuWzKyDv4LHmXJrKv76e5emknXHIxRpyHlHfNcZU3 +m738IVQKv6ZipOjqzKUUBhxHTaaOQZte6Ek6/F95HU3aXNNsuDxFG3xAuwxA1ew8Lsx 5y9xfJ5Ugyin/iSd9kptQvrVCUrYdDhCWgQL6fC1ywXmNlXKXEZQ72EAinVqOYhTbvzY o7k6b8bM/wVWuAfHhZ6rw72i52+mvGzNXFmOOMFNJh1PE3gJ97l4W11mPgQW98onnzPy JUZg== X-Gm-Message-State: AOAM530TVcJ/rFheFyzKQ2V5ykwC12XNg4cOqNg4xzAzb1rpa0CIoYSd 9p4pBRKuTibDyTYaSTbY+SXl3f5v7mlUL5Rr6q4= X-Google-Smtp-Source: ABdhPJwzn9EFgShl9H+VQA9xCTnPxeN0gxnTazunVfhU23Gu5+ucodLsYK/uBC28ugodvHm0NySrDfJ+H2V0+jO5FW4= X-Received: by 2002:a1c:2c85:: with SMTP id s127mr4909530wms.83.1619112899886; Thu, 22 Apr 2021 10:34:59 -0700 (PDT) MIME-Version: 1.0 References: <87fszly7zg.fsf@kyleam.com> <871rb5ft6a.fsf@wi.uni-muenster.de> <CAHa53uwvCriWumjRmr2SWcteWSTgUyQrwXL_ehfTqMYTf7CJmQ@mail.gmail.com> <87y2dcmcuk.fsf@wi.uni-muenster.de> <87pmyo16qr.fsf@web.de> <CAHa53uwwVYa9ndRBY2o3c+0THFi-e9OMFX0R4xw98arvKidDDg@mail.gmail.com> <87h7jy4ebe.fsf@nicolasgoaziou.fr> <CAHa53uxERrGDk=emzqAfQG5JmMsessQfMgoOtFUQTccAi4aYxQ@mail.gmail.com> <87bla649i3.fsf@nicolasgoaziou.fr> In-Reply-To: <87bla649i3.fsf@nicolasgoaziou.fr> From: Tim Visher <tim.visher@gmail.com> Date: Thu, 22 Apr 2021 13:34:24 -0400 Message-ID: <CAHa53uwvvXARYX_Guy_-aMWYoTv=Na3DsZapHfENafHV9ywmZQ@mail.gmail.com> Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `<title>` Tag To: Tim Visher <tim.visher@gmail.com>, Jens Lechtenboerger <lechten@wi.uni-muenster.de>, "Dr. Arne Babenhauserheide" <arne_bab@web.de>, Emacs Org Mode mailing list <emacs-orgmode@gnu.org>, Kyle Meyer <kyle@kyleam.com> Content-Type: multipart/alternative; boundary="0000000000003fc39105c09319fb" Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=tim.visher@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619112963; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bDXK3KKa0OsZbZsUutDVuMfqbeexK7dr3fv1RhfET1A=; b=bQY98H0brFMuv4oBSSIkhtCcn8jcRkg2rWTJGYzZXaTVdL4LVun9Lm54zflUbv5JYWmBDQ d75pVohcWwD9CjTQNuwS/OXyb4Oiw6SLuTPdUKYxx7WdN89b3slwQ3PNDUMPAxgzMrvOCv 1qZL33dCygLT9ZsetdDUIC26gyZYAq9a9WDAZkenpGydBham9S/Ry7o13vVzB2JTs3kwOm 1HCkiyYzazozmma3AR/F02U2fD1gQvXtHHEcs0HPKrSfC4BoCSSByrTyJ4wvsI4ywN4SIu TqlK+xcdWICzi0hKOXffCxRQNu5dsO8Zo6Wf/oe0oAYnRNTYz7hiD0BkhVwixQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619112963; a=rsa-sha256; cv=none; b=EMH13rPqsBT4oJdvYh7DO3DWsnLhBhr/aNhf92KhCR+awwNLholYCT0o5BnywKo68w4fBs L+oTOVKe48Cx0NIUnaTwh5N4QHANPwG56HA5ZRLYjZS2OufaE8uza1gz4c1fI4Z8pDUplH 43aVvuPmDsIFm4aM47OF0Ha0ZSZWNGR28hLRldAH54q5cDzEeuRgt5vEfwJkgcjZFEWRB/ ejQu73HUY3STraumN3CGudsiSZk+ANowUjvxD1fWD7hYe/pww6d8g9FYnFw9DSSjAYae9C mFTOzJB0bpBBnazBMvQuS14byLEpoGXKyoF55jbFhthbzHPTthmyvlGS7TxLpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=s8LJgivH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=s8LJgivH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8E68D16243 X-Spam-Score: -2.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: +78zHbVkbzmv --0000000000003fc39105c09319fb Content-Type: text/plain; charset="UTF-8" On Thu, Apr 22, 2021 at 11:36 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > Tim Visher <tim.visher@gmail.com> writes: > > > Thanks for the tip. What I'm thinking more is somehow getting the heading > > pre-output generation, stripping any characters that `org` would consider > > special (I'm hoping there's already a function that can at least mark > > 'markup' text in a given org string), and _then_ passing it to whatever > ox > > function is responsible for using the title. That way it's as generic as > it > > can possibly be. > > What format has "heading pre-output generation"? Is a string or is it > parsed data? The first part of your paragraph sounds like you want to > rewrite an Org parser. > > How do you pass it to ox function responsible for using the title? I.e., > who/what is responsible for making the change to the title? Is it the > user? > > You may need to clarify your specifications. > > > I confess though that I don't follow exactly what you're talking about > > defining a temporary export back-end. > > In `org-html--build-meta-info' from "ox-html.el", replace the following > > (org-html-plain-text > (org-element-interpret-data (plist-get info :title)) info) > > with > > (org-export-data-with-backend (plist-get info :title) > (org-export-create-backend > :transcoders > '((bold . (lambda (_ c _) c)) > (italic . (lambda (_ c _) c)))) > info) > > Now re-evaluate the function `org-html--build-meta-info' and try > exporting a document to HTML with a title containing bold and italic > syntax, even nested, e.g. > > #+title: /Some *bold* text/ > > > Why would that be necessary or beneficial to the end of teaching org > > how to use only the 'plain text' of a heading for the title in N ox > > backends? > > Adding the function `org-export-strip-syntax below to "ox.el" > > (defun org-export-strip-syntax (data info) > (org-export-data-with-backend data > (org-export-create-backend > :transcoders > '((bold . (lambda (_ c _) c)) > (italic . (lambda (_ c _) c)))) > info)) > > you can now call it from any export back-end whenever its needs to > remove syntax from a piece of code. > > You can also drop the info argument and add it to "org-element.el". But > it depends on what you want to obtain. Also, some syntax is not obvious > to strip, as I suggested in my previous message. > Awesome! This is a ton of great info. If I decide to bite this off I'll be sure to reference this. :) --0000000000003fc39105c09319fb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Thu, Apr 22, 2021 at 11:36 AM Nicolas = Goaziou <<a href=3D"mailto:mail@nicolasgoaziou.fr">mail@nicolasgoaziou.f= r</a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex">Tim Visher <<a href=3D"mailto:tim.visher@gma= il.com" target=3D"_blank">tim.visher@gmail.com</a>> writes:<br> <br> > Thanks for the tip. What I'm thinking more is somehow getting the = heading<br> > pre-output generation, stripping any characters that `org` would consi= der<br> > special (I'm hoping there's already a function that can at lea= st mark<br> > 'markup' text in a given org string), and _then_ passing it to= whatever ox<br> > function is responsible for using the title. That way it's as gene= ric as it<br> > can possibly be.<br> <br> What format has "heading pre-output generation"? Is a string or i= s it<br> parsed data? The first part of your paragraph sounds like you want to<br> rewrite an Org parser.<br> <br> How do you pass it to ox function responsible for using the title? I.e.,<br= > who/what is responsible for making the change to the title? Is it the<br> user?<br> <br> You may need to clarify your specifications.<br> <br> > I confess though that I don't follow exactly what you're talki= ng about<br> > defining a temporary export back-end.<br> <br> In `org-html--build-meta-info' from "ox-html.el", replace the= following<br> <br> =C2=A0 (org-html-plain-text<br> =C2=A0 =C2=A0(org-element-interpret-data (plist-get info :title)) info)<br> <br> with<br> <br> =C2=A0 (org-export-data-with-backend (plist-get info :title)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (org-export-create-backend<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:transcoders<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'((bold . (lambda (_ c _) = c))<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(italic . (lambda (_ c = _) c))))<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 info)<br> <br> Now re-evaluate the function `org-html--build-meta-info' and try<br> exporting a document to HTML with a title containing bold and italic<br> syntax, even nested, e.g.<br> <br> =C2=A0 #+title: /Some *bold* text/<br> <br> > Why would that be necessary or beneficial to the end of teaching org<b= r> > how to use only the 'plain text' of a heading for the title in= N ox<br> > backends?<br> <br> Adding the function `org-export-strip-syntax below to "ox.el"<br> <br> =C2=A0 (defun org-export-strip-syntax (data info)<br> =C2=A0 =C2=A0 (org-export-data-with-backend data<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (org-export-create-backend<br= > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:transcoders<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'((bold . (lambda (= _ c _) c))<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(italic . (lambd= a (_ c _) c))))<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 info))<br> <br> you can now call it from any export back-end whenever its needs to<br> remove syntax from a piece of code.<br> <br> You can also drop the info argument and add it to "org-element.el"= ;. But<br> it depends on what you want to obtain. Also, some syntax is not obvious<br> to strip, as I suggested in my previous message.<br></blockquote><div><br><= /div><div>Awesome! This is a ton of great info. If I decide to bite this of= f I'll be sure to reference this. :)=C2=A0</div></div></div> --0000000000003fc39105c09319fb--