Get rid of last line at line block
This commit is contained in:
@@ -197,7 +197,6 @@
|
|||||||
| Snow covers Emacs
|
| Snow covers Emacs
|
||||||
|
|
|
|
||||||
| -- AlexSchroeder
|
| -- AlexSchroeder
|
||||||
|
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Quote block
|
*** Quote block
|
||||||
|
|||||||
@@ -1449,7 +1449,10 @@ channel."
|
|||||||
"Transcode a VERSE-BLOCK element from Org to reStructuredText.
|
"Transcode a VERSE-BLOCK element from Org to reStructuredText.
|
||||||
CONTENTS is verse block contents. INFO is a plist holding
|
CONTENTS is verse block contents. INFO is a plist holding
|
||||||
contextual information."
|
contextual information."
|
||||||
(replace-regexp-in-string "^" "| " contents))
|
(concat
|
||||||
|
(replace-regexp-in-string "^" "| " (if (> (length contents) 1)
|
||||||
|
(substring contents 0 -1)
|
||||||
|
contents)) "\n"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user