org-mode/lisp
Ihor Radchenko 77a1cfb9a4
org-html-src-block: Treat code blocks without LANG equally
* lisp/ox-html.el (org-html-src-block): Do not treat src blocks
without LANG as example blocks.  Instead, export them using "nil"
language.  This way, such src blocks will get captions, unlike example
blocks.

The new behavior is consistent with ox-latex and ox-ascii.

Reported-by: Johan Bolmsjö <org-mode@johan.bitmaster.se>
Link: https://orgmode.org/list/87zgb90win.fsf@localhost
2023-01-23 16:29:13 +03:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-awk.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-C.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-calc.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-clojure.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-comint.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-core.el Merge branch 'bugfix' 2023-01-18 12:19:34 +03:00
ob-css.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-ditaa.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-dot.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-emacs-lisp.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-eshell.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-eval.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-exp.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-forth.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-fortran.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-gnuplot.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-groovy.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-haskell.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-java.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-js.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-julia.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-latex.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-lilypond.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-lisp.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-lob.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-lua.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-makefile.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-matlab.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-maxima.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-ocaml.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-octave.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-org.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-perl.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-plantuml.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-processing.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-python.el Merge branch 'bugfix' 2023-01-01 13:15:12 -05:00
ob-R.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-ref.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-ruby.el Backport commit 347933377 from Emacs 2023-01-22 21:33:13 -05:00
ob-sass.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-scheme.el Revert "lisp/ob-scheme.el: Add Rudolf Adamkovič as the maintainer" 2023-01-04 00:36:38 +01:00
ob-screen.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-sed.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-shell.el org-babel-shell-initialize: Refactor 2023-01-12 13:35:09 +03:00
ob-sql.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-sqlite.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-table.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob-tangle.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ob.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
oc-basic.el org-cite-basic--get-field: Throw an error on non-nil field values 2023-01-17 15:25:00 +03:00
oc-biblatex.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
oc-bibtex.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
oc-csl.el Merge branch 'bugfix' 2023-01-01 13:15:12 -05:00
oc-natbib.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
oc.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-bbdb.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-bibtex.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-docview.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-doi.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-eshell.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-eww.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-gnus.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-info.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-irc.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-man.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-mhe.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-rmail.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol-w3m.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ol.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-agenda.el Revert "org-agenda.el: Fix `org-agenda-get-blocks'" 2023-01-21 11:27:39 +03:00
org-archive.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-attach-git.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-attach.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-capture.el org-capture-finalize: Do not save new file with :no-save aborted capture 2023-01-22 13:49:07 +03:00
org-clock.el Merge branch 'bugfix' 2023-01-13 12:08:49 +03:00
org-colview.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-compat.el org-cdlatex-mode: Fix regression from f01390cf05 2023-01-11 13:55:56 +03:00
org-crypt.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-ctags.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-cycle.el Touch up copyright lines from cae528457 2023-01-01 13:12:52 -05:00
org-datetree.el lisp/org-datetree.el: Allow datetrees with TODO, priority, tags 2023-01-21 12:29:32 +03:00
org-duration.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-element.el org-element--cache-submit-request: Ensure correct cache synchronization 2023-01-22 15:13:50 +03:00
org-entities.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-faces.el Define the face `org-agenda-calendar-daterange' 2023-01-21 11:27:38 +03:00
org-feed.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-fold-core.el org-fold: Fix isearch when `org-fold-core-style' is 'overlays 2023-01-16 12:21:57 +03:00
org-fold.el Touch up copyright lines from cae528457 2023-01-01 13:12:52 -05:00
org-footnote.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-goto.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-habit.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-id.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-indent.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-inlinetask.el Merge branch 'bugfix' 2023-01-01 13:15:12 -05:00
org-keys.el Merge branch 'bugfix' 2023-01-01 13:15:12 -05:00
org-lint.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-list.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-macro.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-macs.el org-macs: Split org-compile-file into two funs 2023-01-22 18:18:40 +03:00
org-mobile.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-mouse.el Backport commit 920a7d38e from Emacs 2023-01-22 21:33:13 -05:00
org-num.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-pcomplete.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-persist.el Merge branch 'bugfix' 2023-01-22 21:46:52 -05:00
org-plot.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-protocol.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-refile.el org-refile: Fix edge case when we refile on top of the same subtree 2023-01-12 13:19:02 +03:00
org-src.el Merge branch 'km/from-emacs-29' into bugfix 2023-01-01 12:45:33 -05:00
org-table.el Do not assume that `org-string-width' preserves match data 2023-01-20 12:01:24 +03:00
org-tempo.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org-timer.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
org.el org: Split org-format-latex into two functions 2023-01-22 18:18:42 +03:00
ox-ascii.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-beamer.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-html.el org-html-src-block: Treat code blocks without LANG equally 2023-01-23 16:29:13 +03:00
ox-icalendar.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-koma-letter.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-latex.el ox-latex: Erase compile buffer at the start 2023-01-22 18:18:43 +03:00
ox-man.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-md.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-odt.el org-odt-plain-text: Fix `fill-column' value 2023-01-13 11:10:54 +03:00
ox-org.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-publish.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox-texinfo.el Backport commit cae528457 from Emacs 2023-01-01 12:44:47 -05:00
ox.el ox: Fix parsing of example #+includes 2023-01-22 20:14:23 +03:00