Hello,

John Lusk <johnlu...@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&#xA;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&#xA;two"/>
       </root>

You may want to report it upstream
(https://github.com/hniksic/emacs-htmlize).

Regards,

-- 
Nicolas Goaziou

Reply via email to