|
From: | Max Nikulin |
Subject: | Re: [BUG] ob-shell: results missing leading quotes |
Date: | Wed, 1 May 2024 17:48:11 +0700 |
User-agent: | Mozilla Thunderbird |
On 29/04/2024 18:58, Ihor Radchenko wrote:
The nested "..." are stripped on purpose via `org-babel-string-read'. Although this function dates back to R output processing and I do not fully understand why stripping nested quotes is useful for all possible babel backends. But that's a completely different story.
I would say heuristics is quite fragile #+begin_src elisp :results verbatim (org-babel-string-read "\"1 2\" 3 \"4 5\"") #+end_src #+RESULTS: : "1 2\" 3 \"4 5" Leading and trailing quote characters are not stripped in the case of #+begin_src elisp :results verbatim (org-babel-read "\"1 2\" 3 \"4 5\"" t) #+end_src #+RESULTS: : "\"1 2\" 3 \"4 5\""
[Prev in Thread] | Current Thread | [Next in Thread] |