diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el index 874ae8a6d..10c7fe3ca 100644 --- a/contrib/lisp/org-odt.el +++ b/contrib/lisp/org-odt.el @@ -1045,7 +1045,7 @@ to make available an enhanced version of `htmlfontify' library." (when ref (setq line (org-odt-format-target line (concat "coderef-" ref)))) (setq line (org-odt-format-stylized-paragraph par-style line)) - (when num + (if (not num) line (org-odt-format-tags '("" . "") line)))) (defun org-odt-format-source-code-or-example-plain