From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ) for ; 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 ) for ; 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 ; 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 ) 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 ) 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 ) 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 ; 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> <87y2dcmcuk.fsf@wi.uni-muenster.de> <87pmyo16qr.fsf@web.de> In-Reply-To: <87pmyo16qr.fsf@web.de> From: Tim Visher Date: Wed, 21 Apr 2021 11:05:23 -0400 Message-ID: Subject: Re: ox-html Incorrectly (?) Puts HTML Into the `` 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--