forked from mirrors/org-mode
ox-ascii: Fix 12a6303
* ox-ascii.el (org-ascii-template--document-title): Take full lines into considerations for titles.
This commit is contained in:
parent
bf4edb6d16
commit
951ae54c2e
|
@ -1013,7 +1013,7 @@ INFO is a plist used as a communication channel."
|
|||
;; Format TITLE. It may be filled if it is too wide,
|
||||
;; that is wider than the two thirds of the total width.
|
||||
(title-len (min (apply #'max
|
||||
(mapcar #'length (org-split-string title)))
|
||||
(mapcar #'length (org-split-string title "\n")))
|
||||
(/ (* 2 text-width) 3)))
|
||||
(formatted-title (org-ascii--fill-string title title-len info))
|
||||
(line
|
||||
|
|
Loading…
Reference in New Issue