[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE file
From: |
Bastien |
Subject: |
Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE files |
Date: |
Fri, 24 Jul 2009 03:22:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
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 <address@hidden> 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: <address@hidden>
> 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