From dac6d880b7233fb345f3bbeebc79b1729daf9682 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 13 Jan 2014 00:25:25 +0100 Subject: [PATCH] ob-python.el (org-babel-python-var-to-python): Bugfix * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip properties before formatting the results. Thanks to Daniel Gerber for reporting this and providing a fix, and to others who contributed. --- lisp/ob-python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 145768272..523fd70f5 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -137,7 +137,7 @@ specifying a variable of the same value." org-babel-python-hline-to (format (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%S\"\"" "%S") - var)))) + (substring-no-properties var))))) (defun org-babel-python-table-or-string (results) "Convert RESULTS into an appropriate elisp value.