[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] what happened to :wrap HTML ?
From: |
Nick Dokos |
Subject: |
Re: [O] what happened to :wrap HTML ? |
Date: |
Wed, 24 Feb 2016 15:56:13 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
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
--
Nick