Hi Hsiu-Khuern,

I've just pushed a fix for this: when the "src" switch is present,
including a file won't escape org-like lines.  With a bare #+include 
we still escape lines starting with * or #.

Please test it and report any problem. 

Thanks,

Hsiu-Khuern Tang <hsiu-khuern.t...@hp.com> writes:

> I'm using 6.28trans.  Can you try to reproduce this using these two files:
>
> File 1: a.org
> ==================================================
> * test
>
> #+INCLUDE: "a.sh" src sh
> ==================================================
>
> File 2: a.sh
> ==================================================
> #!/bin/sh
>
>  ## shell comment
> echo "This is a test"
> ==================================================
>
> If I export a.org to HTML, the output has a comma before " ## shell comment"
> (but none before "#!/bin/sh", so maybe only lines with leading whitespace
> before a # are affected).
>
> Actually, the problem shows up even when exporting to ascii:
>
> ==================================================
> Author:  <ht...@localhost>
> Date: 2009-07-22 10:31:37 PDT
>
>
> Table of Contents
> =================
> 1 test 
>
>
> 1 test 
> ~~~~~~~
>
>   #!/bin/sh
>   
>   , ## shell comment
>   echo "This is a test"
> ==================================================
>
> Thanks for looking into this!

-- 
 Bastien


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to