瀏覽代碼

Don't insert extra space between inline src block and results on export.

* lisp/ob-exp.el (org-babel-exp-non-block-elements): Don't insert
  extra space between inline src block and results on export.
Eric Schulte 13 年之前
父節點
當前提交
843ac278f9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/ob-exp.el

+ 2 - 1
lisp/ob-exp.el

@@ -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)))))))