Don't insert extra space between inline src block and results on export.
authorEric Schulte <eric.schulte@gmx.com>
Fri, 27 Jan 2012 23:29:03 +0000 (16:29 -0700)
committerEric Schulte <eric.schulte@gmx.com>
Fri, 27 Jan 2012 23:29:03 +0000 (16:29 -0700)
* lisp/ob-exp.el (org-babel-exp-non-block-elements): Don't insert
  extra space between inline src block and results on export.

lisp/ob-exp.el

index 06df1a1..1219834 100644 (file)
@@ -152,7 +152,8 @@ none ----- do not display either code or results upon export"
                                              (org-babel-exp-do-export
                                               info 'inline))))
                      (if code-replacement
-                         (replace-match code-replacement nil nil nil 1)
+                         (progn (replace-match code-replacement nil nil nil 1)
+                                (delete-char 1))
                        (org-babel-examplize-region (match-beginning 1)
                                                    (match-end 1))
                        (forward-char 2)))))))