emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ox.html causes w3c xhtml validation


From: Colin Baxter
Subject: ox.html causes w3c xhtml validation
Date: Sun, 15 Mar 2020 17:45:54 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]