Function: org-babel-table-truncate-at-newline
org-babel-table-truncate-at-newline is a byte-compiled function
defined in ob-table.el.gz.
Signature
(org-babel-table-truncate-at-newline STRING)
Documentation
Replace newline character with ellipses.
If STRING ends in a newline character, then remove the newline character and replace it with ellipses.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-table.el.gz
(defun org-babel-table-truncate-at-newline (string)
"Replace newline character with ellipses.
If STRING ends in a newline character, then remove the newline
character and replace it with ellipses."
(if (and (stringp string) (string-match "[\n\r]\\(.\\)?" string))
(concat (substring string 0 (match-beginning 0))
(when (match-string 1 string) "..."))
string))