From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +IIrJ3xH6WCXvQAAgWs5BA (envelope-from ) for ; Sat, 10 Jul 2021 09:08:44 +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 aEDVInxH6WDlIQAAB5/wlQ (envelope-from ) for ; Sat, 10 Jul 2021 07:08:44 +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 175A6193FA for ; Sat, 10 Jul 2021 09:08:44 +0200 (CEST) Received: from localhost ([::1]:43406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m276P-0002dV-Pf for larch@yhetil.org; Sat, 10 Jul 2021 03:08:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m275b-0002cs-9c for emacs-orgmode@gnu.org; Sat, 10 Jul 2021 03:07:51 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:37543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m275Y-0005Tx-DD for emacs-orgmode@gnu.org; Sat, 10 Jul 2021 03:07:51 -0400 Received: by mail-lj1-x22d.google.com with SMTP id h19so1111995ljl.4 for ; Sat, 10 Jul 2021 00:07:47 -0700 (PDT) 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=MwSY+rpYQpWy3cotu8vI3J73RnS0h2IkAXgy2ZZ8qNw=; b=gLBvu3tjnbRcqhq6Y9vzIQ75Sme3sZGd0iGDXjjpr4vlcdexUfFa7HWX5A4ZrdkS33 AmmHSFMUgGCy+e2qJoz+macOHze2V6lugtgGnWpTLmDIuTEDwjAEY0zC218ws87T7lMB P0xxjsXfjjAjckXFVoBjXOhDxHRzcII36uf1fOdMOBLLeEI2Y/bnyQxfyCPvWON4Jl4k KBerI5Mi1bCuW3l3pYS/1WuFcnkky8FzknePVF6cmzG3echi62LfybByGhknBfvvkgtJ go/strYQUVprGXnGGTIl1TpGU5tn+1Typ1TpmMfSMQ/9pf/B+NAsZPD17ndk7rIo9cof J/lg== 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=MwSY+rpYQpWy3cotu8vI3J73RnS0h2IkAXgy2ZZ8qNw=; b=R3NO+dea5xzOKUOhYxtcgQcCkWZTUN2UrOzqntLiHoYQbZLxndTbdszTOMmAlXyEEH h38OYN85ZEWaEiOtDynOmf6aP9s5I27ZIASDvvDtw4gxbVa8a1svjnPCawf/S1erkm9e EV7OEL7clWFE5C27oMlK/LI3xvWW2M28uUann/cUFwQdUk8Fo8aiijML1SyVmUgMt/RF +dLQACdmK1QiOpWnNNUBTgFsrGr/p1OXJvwMtql1cPcWiZcmkwa34R7oJBaOG+Ay8TFI 88hqze3+dmYhE0wE/mb5Nl9SHja4PTbmRCYm6CZ8+kKd4NdpCzLj6ZJMJeIozWjCaqFh zKFw== X-Gm-Message-State: AOAM531C+NDgYGl5u6DhvrZUEMFpFj0ZpZtkY8A5xRi2T0Y086mCyX4C ZTvza6GWDosLu9j/FgfZVmrpSSCjpRUtdtN5a4GCqMK7wRMOkQ== X-Google-Smtp-Source: ABdhPJwaTeI7HQAYfwIUWnt9Rs94172Zx0ud6HK/Jx97xSoghK4zb0wJulBrXg6U+S2XO0yjFW0/yT7NQZ/T+tLZILo= X-Received: by 2002:a2e:5c03:: with SMTP id q3mr32082817ljb.233.1625900865094; Sat, 10 Jul 2021 00:07:45 -0700 (PDT) MIME-Version: 1.0 From: Zachary Kanfer Date: Sat, 10 Jul 2021 03:07:34 -0400 Message-ID: Subject: Feature request: in org html export, option to disable id & class properties. To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000810a4705c6bf8b98" Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=zkanfer@gmail.com; helo=mail-lj1-x22d.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_40=-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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625900924; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MwSY+rpYQpWy3cotu8vI3J73RnS0h2IkAXgy2ZZ8qNw=; b=FL05XsXjc6KNH9kDWgFiKfUZDTI4YW8laFmkwhYoQbxUFJ0synOUmhiEIXBtvsgtACbFPP cBbEj5R4jx7Hn9+AgYzyYp+DBoLhkQPIY1nMAiwzNS58vyY8nFuPy3zxFU+NKuDPvpNZPQ HA6phrQW1c0XRpmw6aXjWC9sFm2+17110ahjSxhLkG3G8WM06552nDhaj305HTkeGZpwAf 472C9D3al+y9bf3ROiTv6HcWyrx64o/ATnuqE+yYIEJ39ZcDLMMwfdYNGOGTdGFQTzYCfd wHsJJ56pnIB8qCuHHRESa8F2npZKmb+nsxIYI5b2rCZkfCoCNLSLeh8HQADqHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625900924; a=rsa-sha256; cv=none; b=i2yL9o0gtAV/Cnjsa+hNpZBezT1/hIvX0+J3zZlGqgEBEWvP4oJTQ1FGXyw4Y8vLQN0yCG YXnlgj/DJxszh77jg84dKXAfVITw6O6kreYYKN07GTv3xEKCJhmnj+3EXNUAuO4Sc6ifAo iMJNX2a44dXmqivh4Mwxk74OCfDqoB4faMCJE/svq6cb79XOMtvGg4HVtlvdhBela4Usma KQTNe5WEzgb3jLV39vOc7a1LHpWVq28nYCtngXhbROm/4phfhxIqhcNv6v093f9HqKPnwg 862Uq2hntQaeg82a5Ziypp2tJLmZrNSHYVLSNkJtS27kYy0yWA1R9XdaqJVQbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=gLBvu3tj; 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.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=gLBvu3tj; 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: 175A6193FA X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: prPktldE8yiW --000000000000810a4705c6bf8b98 Content-Type: text/plain; charset="UTF-8" When I export this sample org file: * top-level header ** and here we have #2 The body of the generated html has this content:

top-level header

and here we have #2

I would prefer the html to not have these id or class properties; something like this:

top-level header

and here we have #2

Actually, I'd rather skip the divs entirely, but that is a separate issue. Could there be a configurable way to disable the creation of these properties? I have searched the mailing list, and have not found anything. Perhaps I've missed something; there are a lot of results for "html class id" or similar searches. Thanks. --000000000000810a4705c6bf8b98 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When I export this sample org file:

=C2=A0 =C2=A0 *= top-level header
=C2=A0 =C2=A0 ** and here we have #2

The body o= f the generated html has this content:

=C2=A0 =C2=A0 <div id=3D&q= uot;content">
=C2=A0 =C2=A0 =C2=A0 <h1 class=3D"title&qu= ot;>top-level header</h1>
=C2=A0 =C2=A0 =C2=A0 <div id=3D&qu= ot;outline-container-orgd9fc9e6" class=3D"outline-2">
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 <h2 id=3D"orgd9fc9e6">and here = we have #2</h2>
=C2=A0 =C2=A0 =C2=A0 </div>
=C2=A0 =C2=A0= </div>

I would prefer the html to not have these id or class = properties; something like this:

=C2=A0 =C2=A0 <div>
=C2=A0= =C2=A0 =C2=A0 <h1>top-level header</h1>
=C2=A0 =C2=A0 =C2= =A0 <div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <h2>and here we have #= 2</h2>
=C2=A0 =C2=A0 =C2=A0 </div>
=C2=A0 =C2=A0 </div= >

Actually, I'd rather skip the divs entirely, but that is a = separate issue. Could there be a configurable way to disable the creation o= f these properties? I have searched the mailing list, and have not found an= ything. Perhaps I've missed something; there are a lot of results for &= quot;html class id" or similar searches. Thanks.
--000000000000810a4705c6bf8b98--