From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MIalJuPKJmBnRAAA0tVLHw (envelope-from ) for ; Fri, 12 Feb 2021 18:37:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UH54IuPKJmDLAwAA1q6Kng (envelope-from ) for ; Fri, 12 Feb 2021 18:37:23 +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 133B72BEFC for ; Fri, 12 Feb 2021 19:37:23 +0100 (CET) Received: from localhost ([::1]:42838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAdJh-0005ik-Rb for larch@yhetil.org; Fri, 12 Feb 2021 13:37:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAdEr-00033v-9W for emacs-orgmode@gnu.org; Fri, 12 Feb 2021 13:32:21 -0500 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:34355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAdEp-0000iJ-Jl for emacs-orgmode@gnu.org; Fri, 12 Feb 2021 13:32:20 -0500 Received: by mail-pg1-x536.google.com with SMTP id o7so235391pgl.1 for ; Fri, 12 Feb 2021 10:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=po3qEiGt2ojik1uccWkvq5fYA+NewamQVcFqOWXg524=; b=e+nt3WgFPH3N73oq0x4PLNH5+sL2NMK4QqZ0Aax/oTAfYYNJjwyYYcK3pJAwd5W0E9 FfSH1h7KptDWkr1uK+e0S3F04eAhXQw6i4fMejFnTF5ecTk2HBq+IHLlx1GERwVDFdfe t3GetJmE7hLXs0+Aq4NzboJrpDeg5f5XzWPrVmPtqA1veEY2PT5JQf8MhpDShKTQAmt/ AlWGr/MNRRAHycziYWuKcuNI7NNg6eCRMnHahtiC3QAiJIp/V9LDjbbQsLoDa8PW/vdT 0MyFw9iw4xk5WOhzQGN2i7HULYMKFYkITL98wSVEhupIs5hFv3nnv9xzyQXhgFz1Zp0+ iYGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=po3qEiGt2ojik1uccWkvq5fYA+NewamQVcFqOWXg524=; b=YT3o7l6oR/NivB5Ge49zT9hI/eHkX8cjQwT8dyov/hAH1NbVDhFImOVvnAaENvOjrE SH8mO1mFeDdmEgjcsUiKAAWO7+NuxGlgsjw+ZNxgZBgbB0dh7usjs6VRGnGr2vp5aGV3 onhIUDFrEs3305a0axHGntKQCKZN14nzEebkG/S4t6adF7FKp0aZGHbF1zWtGaX0Sp9W Wm1utTACNakjpMYTAPoli+XwCH2vqUDGs3WFWrme4BMh8O7dLmkck0zszpCrNylYdbJ/ UU3oBv7xI3JhqzwrK8KjXAXHI5ORyBi6uFr2YDbZxNWiapyeQ1xEGPtEpueeLKrk7j/L YzSg== X-Gm-Message-State: AOAM533cXH+u/UAnoS9qeEwYDvpXHsaRWUSMPOtWiQ2VWvP09FYtaQ9F F7kOx6KeopRbYItNeV0SzWBrI1rslFE= X-Google-Smtp-Source: ABdhPJy+feAciStpmzNTwH5NAeXIpIgsspALY5BF8mVIFmzOPPhiSdBFT3526Qqdg/GU4xCdq7Ui1Q== X-Received: by 2002:a62:ac1a:0:b029:1de:111c:c8a3 with SMTP id v26-20020a62ac1a0000b02901de111cc8a3mr4270304pfe.32.1613154737614; Fri, 12 Feb 2021 10:32:17 -0800 (PST) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id h20sm6682257pfv.164.2021.02.12.10.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 10:32:17 -0800 (PST) References: <87turbj2nu.fsf@gmail.com> <878s7t95fu.fsf@kyleam.com> <87wnvd2ph3.fsf@wi.uni-muenster.de> <87sg612oyr.fsf@wi.uni-muenster.de> User-agent: mu4e 1.4.15; emacs 27.1 From: Timothy To: Jens Lechtenboerger Subject: Re: [PATCH] tweaks to ox-html style Date: Sat, 13 Feb 2021 02:22:31 +0800 In-reply-to: <87sg612oyr.fsf@wi.uni-muenster.de> Message-ID: <87tuqhqgr6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x536.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, 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: , Cc: Kyle Meyer , org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=e+nt3WgF; 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: 133B72BEFC X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: OIzIQFeg9f/K Jens Lechtenboerger writes: > On 2021-02-12, Jens Lechtenboerger wrote: > >> I do not know why the CDATA lines exist. I don=E2=80=99t see a reason to >> keep them (patch 0001), but that might be a lack of understanding on >> my part. > > OK, that is probably for XHTML, where < and & are only allowed > inside CDATA sections. > > Timothy, did you try to validate XHTML output? If you look at the commit message for 001, you can see the following: > remove CDATA strings, as they are now > considered obsolete --- see > https://developer.mozilla.org/en-US/docs/Web/API/CDATASection#specificati= ons Does that page clear things up for you? I did a bit more googling and found https://dev.w3.org/html5/html-polyglot/html-polyglot.html#bib-HTML5 which mentions CDATA: > The CDATA code is then seen as text by the HTML parser (and can thus > interfere with the scripting or styling language!), while the XML > parser sees the content as text without markup semantics. In other words, CDATA allows you to keep XML comparability, but now breaks strict HTML comparability. IMO the latter is much more important for an org-html export. -- Timothy