|
From: | John Lusk |
Subject: | Re: [O] 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 |
Hello,
John Lusk <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |