From: John Lusk <johnlusk4@gmail.com>
To: 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, 3 Dec 2018 17:20:00 -0500 [thread overview]
Message-ID: <CAJQkMbb_msW_3VHJ-He-o0uipLQ7aVEYaHwzvkrOpMWuoMv2xQ@mail.gmail.com> (raw)
In-Reply-To: <87pnuijznt.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Cool, will do, thanks.
John.
On Mon, Dec 3, 2018 at 12:19 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> 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
>
[-- Attachment #2: Type: text/html, Size: 1754 bytes --]
prev parent reply other threads:[~2018-12-03 22: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
2018-12-03 22:20 ` John Lusk [this message]
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=CAJQkMbb_msW_3VHJ-He-o0uipLQ7aVEYaHwzvkrOpMWuoMv2xQ@mail.gmail.com \
--to=johnlusk4@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).