Sfoglia il codice sorgente

Merge branch 'maint'

Nicolas Goaziou 6 anni fa
parent
commit
9313f5c9eb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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