I have a code blocks for a domain specific input files that I want to have in a single org file and tangle them out to separate files (see Tangling non-code files to separate files). However, my source has things in it that look like org-mode headings, e.g.:
#+BEGIN_SRC fundamental :tangle test.inp
* minimize
*
open unit 10 read form name methanol.rtf
read rtf card unit 10
close unit 10
...
#+END_SRC
and these don't get tangled. Removing the * minimize
line or putting any amount of text before it does not solve the problem. The "headers" aren't highlighted but they still have folding etc., and emacs won't let me put spaces in front of them.
Seems like a bug, but a workaround would be helpful.