Hi, I noticed that exporting a document to HTML when "exports" is set to "both" gives an error. Here's an example document:
--------------------- #+TITLE: Example Doc #+PROPERTY: exports both The result is src_R{3+4} =[1] 7=. --------------------- The stack trace looks like this: --------------------- Debugger entered--Lisp error: (void-function nil) nil("%flags") replace-regexp-in-string("%flags" nil "#+BEGIN_SRC R%flags\n3+4\n#+END_SRC" t t) org-fill-template("#+BEGIN_SRC %lang%flags\n%body\n#+END_SRC" (("lang" . "R") ("flags") ("body" . "3+4"))) org-babel-exp-code(("R" "3+4" ((:comments . "") (:shebang . "") (:cache . "") (:padline . "") (:noweb . "") (:tangle . "") (:exports . "both") (:results . "replace") (:session . "none")))) org-babel-exp-do-export(("R" "3+4" ((:comments . "") (:shebang . "") (:cache . "") (:padline . "") (:noweb . "") (:tangle . "") (:exports . "both") (:results . "replace") (:session . "none"))) inline) org-babel-exp-inline-src-blocks(1 83) #[(pair) "\211A@)\n \"\207" [pair x start end] 4]((src org-babel-exp-inline-src-blocks)) mapcar(#[(pair) "\211A@)\n \"\207" [pair x start end] 4] ((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks))) interblock(1 83) byte-code("\306\307\211\211\211\211\211\211\211\211\211\211+,-./0\310\311!\2111\205) --------------------- I'm still at version 7.8.03, apologies if this has been addressed in a later version already. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.