diff --git a/README.org b/README.org index af210ed..e3f6659 100644 --- a/README.org +++ b/README.org @@ -197,7 +197,6 @@ | Snow covers Emacs | | -- AlexSchroeder - | #+END_SRC *** Quote block diff --git a/ox-rst.el b/ox-rst.el index ad1325a..a9a32ed 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -1449,7 +1449,10 @@ channel." "Transcode a VERSE-BLOCK element from Org to reStructuredText. CONTENTS is verse block contents. INFO is a plist holding contextual information." - (replace-regexp-in-string "^" "| " contents)) + (concat + (replace-regexp-in-string "^" "| " (if (> (length contents) 1) + (substring contents 0 -1) + contents)) "\n"))