Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
josephmr opened this issue Apr 1, 2023 · 0 comments
Open

Comments

@josephmr
Copy link

josephmr commented Apr 1, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant