emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: src block asterisk escaping doesn't work anymore


From: Charles C. Berry
Subject: Re: [O] Bug: src block asterisk escaping doesn't work anymore
Date: Wed, 13 Jul 2016 18:47:58 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)

On Wed, 13 Jul 2016, Robert Klein wrote:

Hi,

When exporting a source block, e.g.

--- snip (example org file) ---
#+begin_src conf
 Test

 ,* asterisk in src block
#+end_src
--- snip ---


the escaping of the asterisk does not work.  Instead a headline
“asterisk in src block” is created.

I don't have `ob-conf', but this:

--8<---------------cut here---------------start------------->8---

#+begin_src emacs-lisp :exports both
  "Test

  ,* asterisk in src block"
#+end_src

--8<---------------cut here---------------end--------------->8---

shows the issue. Also, the #+[BEGIN|END]_SRC parts of the src block are showing up in the export.

Putting `org-escape-code-in-string' back in `org-babel-exp-code' here

:  ("body"  . ,(org-escape-code-in-string (nth 1 info)))

seems to fix this as long as there is a newline after the last #+END_SRC in the buffer.

Chuck

reply via email to

[Prev in Thread] Current Thread [Next in Thread]