emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: HTML export with XML source code containing hex-encoded ent


From: Nicolas Goaziou
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, 03 Dec 2018 18:19:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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&#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

[Prev in Thread] Current Thread [Next in Thread]