Christian Moe <[email protected]> writes:

> I suppose the easiest way to go would be to change
> `org-babel-insert-result' to do no wrapping if the cdr is the string
> "nil" or "no". Then, to get captions in both latex and html with the Worg
> by-backend example, we could use the string instead of nil:
>
>   #+header: :wrap (by-backend ('latex "figure") (_ "nil"))
>
> I attach a draft patch (no ORG-NEWS change included in this version as
> I'm not sure if it should go under Options or Miscellaneous).

Thanks!
I added a news entry in new features.
Applied, onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=480c9b706

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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