From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: ox.html causes w3c xhtml validation Date: Tue, 17 Mar 2020 05:15:41 +0000 Message-ID: <87h7yn7e9u.fsf@kyleam.com> References: <871rpt1hod.fsf@alphapapa.net> <87r1xt8es6.fsf@kyleam.com> <874kuozocf.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34010) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jE4Zv-0008Dq-Al for emacs-orgmode@gnu.org; Tue, 17 Mar 2020 01:15:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jE4Zt-0004xH-9M for emacs-orgmode@gnu.org; Tue, 17 Mar 2020 01:15:46 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:51079) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jE4Zs-0004e8-W7 for emacs-orgmode@gnu.org; Tue, 17 Mar 2020 01:15:45 -0400 In-Reply-To: <874kuozocf.fsf@yandex.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Colin Baxter Cc: emacs-orgmode@gnu.org Hi Colin, Colin Baxter writes: >>>>>> Kyle Meyer writes: > > Colin, could you try exporting with the change below and see if > > that resolves your validation issues? It'd also be great if you > > could check whether librejs is still happy after that change. > > I've now applied the patch to my local org-mode and exported the > file "index.org". It seems to work because I now get "This document was > successfully checked as XHTML 1.0 Strict!" when validating by uploading > the html file "index.html" to http://validator.w3.org/. > > As to librejs, I don't actually use js on my web-site so apart from the > js license information in the html header there is no js on the > page. However, I've opened my "index.html" file with icecat (v52.3.0 32 > bit) and get the following output: Thanks for reporting back. Arne sent an equivalent patch (see sibling thread), verifying that LibreJS worked with it. I applied that in 661696036 (ox-html: escape & in license magnets, 2020-03-15), so we should be all set.