瀏覽代碼

Merge branch 'maint'

Nicolas Goaziou 9 年之前
父節點
當前提交
2a0a37c1a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-latex.el

+ 1 - 1
lisp/ox-latex.el

@@ -1280,7 +1280,7 @@ For non-floats, see `org-latex--wrap-label'."
      ((org-string-nw-p caption-from-attr-latex)
       (concat caption-from-attr-latex "\n"))
      ((and (not main) (equal label "")) "")
-     ((not main) (concat label "\n"))
+     ((not main) label)
      ;; Option caption format with short name.
      (t
       (format (if nonfloat "\\captionof{%s}%s{%s%s}\n"