From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: John Lusk <johnlusk4@gmail.com>
Cc: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87pnuijznt.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJQkMbbd1sqVodGn4=yL8FyDigh78u+f5e2yVbE+1Mi9xazqPg@mail.gmail.com> (John Lusk's message of "Mon, 3 Dec 2018 10:29:07 -0500")
Hello,
John Lusk <johnlusk4@gmail.com> writes:
> Trying to export the follow .org file to HTML:
>
> * Header 1
>
> #+BEGIN_SRC xml
> <?xml version="1.0" encoding="utf-8" ?>
> <root>
> <elt value="one
two"/>
> </root>
> #+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
<M-x htmlize-buffer> on the following document:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<elt value="one
two"/>
</root>
You may want to report it upstream
(https://github.com/hniksic/emacs-htmlize).
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2018-12-03 17:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-03 15:29 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/)] John Lusk
2018-12-03 17:19 ` Nicolas Goaziou [this message]
2018-12-03 22:20 ` John Lusk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnuijznt.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=johnlusk4@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).