From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: HTML export with XML source code containing hex-encoded entities borked [9.1.2 (9.1.2-25-g2567fe-elpa @ c:/Users/j6l/AppData/Roaming/.emacs.d/elpa/org-20171030/)] Date: Mon, 03 Dec 2018 18:19:50 +0100 Message-ID: <87pnuijznt.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTrt1-0005lS-Ml for emacs-orgmode@gnu.org; Mon, 03 Dec 2018 12:20:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTrsw-0005RT-JY for emacs-orgmode@gnu.org; Mon, 03 Dec 2018 12:19:59 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50591) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gTrsw-0005Pz-DE for emacs-orgmode@gnu.org; Mon, 03 Dec 2018 12:19:54 -0500 In-Reply-To: (John Lusk's message of "Mon, 3 Dec 2018 10:29:07 -0500") 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.org@gnu.org Sender: "Emacs-orgmode" To: John Lusk Cc: emacs-orgmode@gnu.org Hello, John Lusk writes: > Trying to export the follow .org file to HTML: > > * Header 1 > > #+BEGIN_SRC xml > > > > > #+END_SRC > > Results in the following error: > > cons: Args out of range: "&#", 0, 5 > > and no output. This seems to be a bug in htmlize, an external library which is used to transform Org fontification into HTML. You can reproduce it by calling on the following document: You may want to report it upstream (https://github.com/hniksic/emacs-htmlize). Regards, -- Nicolas Goaziou