From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: ox.html causes w3c xhtml validation Date: Sun, 15 Mar 2020 17:45:54 +0000 Message-ID: <87eett7bql.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42674) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDXKw-0002Kh-El for emacs-orgmode@gnu.org; Sun, 15 Mar 2020 13:46:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDXKv-00028T-9X for emacs-orgmode@gnu.org; Sun, 15 Mar 2020 13:46:06 -0400 Received: from ciao.gmane.io ([159.69.161.202]:34006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDXKv-00020c-2w for emacs-orgmode@gnu.org; Sun, 15 Mar 2020 13:46:05 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jDXKs-000R9F-Ut for emacs-orgmode@gnu.org; Sun, 15 Mar 2020 18:46:02 +0100 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: emacs-orgmode@gnu.org Publishing with Org mode version 9.3.6 (release_9.3.6-419-gd9b1fb) I get an validation error using http://validator.w3.org/check. The error is: ----- Begin ----- Warning Line 205, Column 74: cannot generate system identifier for general entity "dn" …rn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs". ----- End ------- The cause is ox-html, which has the following lines ./lisp/ox-html.el:235:// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later ./lisp/ox-html.el:513:// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later ./lisp/ox-html.el:518:// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later I think the culprit is commit 68fa5e589f00c8d5b4f7f0dc70be6ebe59238bb8, 11 Feb. Is it possible to fix this? Best wishes, Colin Baxter www.Colin-Baxter.com