From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mLr0NUYj1V9FbwAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 20:08:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uJW3MUYj1V8NWgAAbx9fmQ (envelope-from ) for ; Sat, 12 Dec 2020 20:08:38 +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 5B9F794014B for ; Sat, 12 Dec 2020 20:08:38 +0000 (UTC) Received: from localhost ([::1]:60108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koBC0-0003Rg-IA for larch@yhetil.org; Sat, 12 Dec 2020 15:08:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko9y9-0003q8-6P for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 13:50:13 -0500 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:33570 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko9y7-0005Fo-4n for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 13:50:12 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ko9Bb-0004jn-9s for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 19:00:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Colin Baxter Subject: org-mode Publishing fails xhtml validation and LibreJS test. Date: Sat, 12 Dec 2020 17:59:55 +0000 Message-ID: <871rfuykf8.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:iKJ+bkuj2D/bLJ2Mv8i/sRdIeEg= X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 X-Migadu-Spam-Score: -1.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=yandex.com (policy=none); 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: 5B9F794014B X-Spam-Score: -1.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: /J+Y88YGmjei Hello, When publishing, org-mode inserts the following javascript in the xhtml file: #+begin_src js #+end_src There are issues with this script. 1. The script gives errors in XHTML 1.0 Strict validation. For example, the line beginning //@license ... gives errors of the type: a. cannot generate system identifier for general entity "dn" b. general entity "dn" not defined and no default entity c. reference not terminated by REFC delimiter etc. 2. The script fails the LibreJS (gnu.org/software/librejs) tests. This can be tested by opining the page in icecat. In order to pass XHTML and LibreJS validation tests, I have to delete the script from my web pages by hand. Best wishes, Colin Baxter. Colin Baxter URL: http://www.Colin-Baxter.com --------------------------------------------------------------------- GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8 ---------------------------------------------------------------------