ob-restclient.el
ob-restclient.el copied to clipboard
#+END_SRC line is appended to the output without a newline
For example, the results from this org-mode block:
* Get a list of my repositories
#+NAME: github-repositories
#+BEGIN_SRC restclient :var token=token
GET https://api.github.com/user/repos?type=owner
User-Agent: emacs27/restclient.el
Authorization: Basic :token
#+END_SRC
Look like this:
#+RESULTS: github-repositories
#+BEGIN_SRC js
[{"id": 123, ...}, {...}]#+END_SRC
Which breaks folding, and messes up subsequent org-mode blocks.
I'm not able to reproduce this. Have you changed org-babel-default-header-args:restclient
? If so, what are you using?
Seems this is reproducible if we introduce hooks as per #19.