** Description The caption "Caption 1" is not exported by ox-html in the following source block.
#+caption: Caption 1 #+begin_src foo bar baz #+end_src The caption "Caption 2" is exported by ox-html in the following source block. #+caption: Caption 2 #+begin_src sh echo foo bar baz #+end_src ** Expectation The caption "Caption 1" is exported just as "Caption 2" is. The plain text exporter ox-ascii exports both "Caption 1" and "Caption 2". ** Version Info - GNU Emacs 28.2 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2022-11-19 - Org mode version 9.6 (9.6-gf49ee9 @ /home/johan/.emacs.d/straight/build/org/)