Re: [O] Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented

2013-10-16 Thread Nicolas Goaziou
Hello, Omid writes: > When exporting to HTML (Org mode version 8.2.1 ELPA; GNU Emacs version > 24.3.1) I see the a strange behavior which can be reproduced with the > following minimal example: > > This exports correctly > #+BEGIN_SRC sh > ls > #+END_SRC > > - This also exports correctly > #

Re: [O] Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented

2013-10-15 Thread Omid
Thank you for your quick reply, Thorsten. Yes, as I mentioned, and as you noticed, the HTML export does not seem to work correctly for the last case. The #BEGIN_SRC and #END_SRC delimiters are exported literally. -- Omid Sent from my Emacs On 10/15/2013 10:53 PM, Thorsten Jolitz wrote: > > PS:

Re: [O] Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented

2013-10-15 Thread Thorsten Jolitz
PS: Omid writes: > When exporting to HTML (Org mode version 8.2.1 ELPA; GNU Emacs version > 24.3.1) I see the a strange behavior which can be reproduced with the > following minimal example: > > This exports correctly > #+BEGIN_SRC sh > ls > #+END_SRC > > - This also exports correctly > #+

Re: [O] Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented

2013-10-15 Thread Thorsten Jolitz
Omid writes: > - This does NOT export correctly (code block is not detected) > #+BEGIN_SRC sh > ls > #+END_SRC > > Is there any way around this behavior without removing the indentation > for the code block delimiters? I think the 'official'regexp to detect a src-block starts like this ,---

[O] Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented

2013-10-15 Thread Omid
Hello All, When exporting to HTML (Org mode version 8.2.1 ELPA; GNU Emacs version 24.3.1) I see the a strange behavior which can be reproduced with the following minimal example: This exports correctly #+BEGIN_SRC sh ls #+END_SRC - This also exports correctly #+BEGIN_SRC sh ls #+END_SRC - T