Skip to content

Adds erroneous #+begin_example and #+end_example on first execution #37

Description

@josephmr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions