emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] what happened to :wrap HTML ?


From: Nicolas Goaziou
Subject: Re: [O] what happened to :wrap HTML ?
Date: Wed, 24 Feb 2016 23:48:27 +0100

Hello,

Nick Dokos <address@hidden> writes:

> Giuseppe Lipari <address@hidden> writes:
>
>> Hello,
>>
>> I used to generate html code with a python script using org-babel, like this:
>>
>> %------- example.org ---------%
>> * This is an example of export in HTML
>> #+BEGIN_SRC python :exports results :results output :wrap HTML
>> print "<ul> <li> first item</li>"
>> print "<li> second item </li>"
>> print "</ul>"
>> #+END_SRC
>> %------- example.org ---------%
>>
>> This used to work just fine and produce a nice unordered list in html. Until 
>> the moment I updated to the
>> current development version:
>>
>> Org-mode version 8.3.4 (release_8.3.4-588-g924431 @ 
>> /home/lipari/elisp/org-mode/lisp/)
>>
>> Now, it produces the attached screenshot:
>>
>> snapshot
>>
>> Hence my question: what happened to ":wrap HTML" ?? Is there an equivalent 
>> way to express the same
>> behaviour as before?
>>
>
> I bet :wrap HTMP produces
>
> #+BEGIN_HTML
> ...
> #+END_HTML
>
> instead of
>
> #+BEGIN_EXPORT HTML
> #+END_EXPORT

So I guess the OP should write :wrap export HTML.

We could also add the export part automatically, but that would limit
the value of the parameter (e.g., impossible to do anything else than
export blocks)

Regards,

-- 
Nicolas Goaziou



reply via email to

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