emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: what happened to :wrap HTML ?
Date: Wed, 24 Feb 2016 15:56:13 -0500	[thread overview]
Message-ID: <87r3g17rpu.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CABHo5SCj9P6SV4XoWiccf9k9COAcSzJdwcOKfP9ZJZ-ZdBZ4CQ@mail.gmail.com

Giuseppe Lipari <giulipari@gmail.com> 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

  reply	other threads:[~2016-02-24 20:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 20:45 what happened to :wrap HTML ? Giuseppe Lipari
2016-02-24 20:56 ` Nick Dokos [this message]
2016-02-24 22:48   ` Nicolas Goaziou
2016-02-24 22:56     ` Rasmus
2016-02-25  8:32       ` Giuseppe Lipari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3g17rpu.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).