Pārlūkot izejas kodu

Merge branch 'maint'

Nicolas Goaziou 6 gadi atpakaļ
vecāks
revīzija
9313f5c9eb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lisp/ox-texinfo.el

+ 1 - 1
lisp/ox-texinfo.el

@@ -706,7 +706,7 @@ contextual information."
   "Transcode a CENTER-BLOCK element from Org to Texinfo.
 CONTENTS holds the contents of the block.  INFO is a plist used
 as a communication channel."
-  contents)
+  (replace-regexp-in-string "\\(^\\).*?\\S-" "@center " contents nil nil 1))
 
 ;;;; Clock