|
@@ -998,7 +998,9 @@ See `org-latex-text-markup-alist' for details."
|
|
|
;; and use "\\verb" command.
|
|
|
((eq 'verb fmt)
|
|
|
(let ((separator (org-latex--find-verb-separator text)))
|
|
|
- (concat "\\verb" separator text separator)))
|
|
|
+ (concat "\\verb" separator
|
|
|
+ (replace-regexp-in-string "\n" " " text)
|
|
|
+ separator)))
|
|
|
;; Handle the `protectedtexttt' special case: Protect some
|
|
|
;; special chars and use "\texttt{%s}" format string.
|
|
|
((eq 'protectedtexttt fmt)
|