ob-restclient.el
ob-restclient.el copied to clipboard
Adds erroneous `#+begin_example` and `#+end_example` on first execution
This only happens the very first time I execute a restclient src block. All subsequent times work as expected.
Additionally if I enable edebug or tracing on org-babel-execute:restclient
it does not add the example tags so I can't debug the issue.
I see this was also briefly alluded to in #19 .
Reproduce
#+begin_src restclient
GET https://pokeapi.co/api/v2/pokemon/ditto
#+end_src
Results in:
#+RESULTS:
#+begin_example
,#+BEGIN_SRC js
{
...
}
// Headers...
,#+END_SRC
#+end_example