From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ) for ; 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 ) for ; 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 ; 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 ) 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 ) 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 ) 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 To: Tim Visher Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `` 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