org-mode/etc
Ihor Radchenko e6c5f25c13
org-babel-exp-code: Fix exporting src blocks with :var arguments
* lisp/ob-exp.el (org-babel-exp-code): Do not use resolved argument
values when formatting the code block.  Resolved argument values may
contain awkward data like full (long) table contents, various Elisp
data (including non-printable), etc.  Simply using verbatim src block
parameters as they appear in the original buffer is more reliable.
(org-babel-exp-inline-code-template):
(org-babel-exp-code-template): Update docstrings, drop %flags
placeholder, which is no longer supported using the current src block
syntax.
* etc/ORG-NEWS (=ox-org= preserves header arguments in src blocks):
Drop "non-default" when explaining how header arguments are formatted.
We cannot know which values are default and which not without
resolving the values - something we cannot do as it turned out.
* testing/lisp/test-ob-exp.el (ob-exp/exports-inline-code):
(ob-export/export-src-block-with-flags):
(ob-export/body-with-coderef): Update the tests.
2024-06-06 14:44:01 +02:00
..
csl etc/csl: Update files to latest versions 2021-10-02 11:29:29 -04:00
schema Backport commit f1f351def from Emacs 2021-06-27 23:30:22 -04:00
styles Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
Makefile oc-csl: Implement `csl' citation processor 2021-07-09 08:47:14 +02:00
ORG-NEWS org-babel-exp-code: Fix exporting src blocks with :var arguments 2024-06-06 14:44:01 +02:00