emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ob-lua: Support all types and multiple values in results


From: Ihor Radchenko
Subject: Re: [PATCH] ob-lua: Support all types and multiple values in results
Date: Thu, 02 May 2024 16:41:49 +0000

Rudolf Adamkovič <rudolf@adamkovic.org> writes:

> Max Nikulin <manikulin@gmail.com> writes:
>
>> On 30/04/2024 03:26, Rudolf Adamkovič wrote:
>>> +    local value = result[1]
>>> +    if string.find(value, '[%%(%%[{]') == 1 then
>>> +      return quotes .. value .. quotes
>>
>> Am I wrong that quotes in value may cause issues? I expect some way of
>> escaping " characters.
>
> What would the reproduction steps look like?

I guess

#+begin_src lua
return '"hello " world"'
#+end_src

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]