Hi Martin, Thanks for pointing this out, our regular-expression was greedily consuming too much of the source block switches. I've just pushed up a change which should fix you issue.
Best -- Eric "Martin G. Skjæveland" <mart...@ifi.uio.no> writes: > Hi all, > > I use the -r -l option for source blocks to change the format of > labels. This works in org-mode without org-babel, but this does not > fully work with org-babel (and I really like org-babel, so that's a > shame :) ) > > The following > > --------------start--------- > #+begin_src xml -n -r -l "<!--(ref:%s)-->" > <test> > <important/> <!--(ref:imp)--> > </test> > #+end_src > > Line no. [[(imp)]] is important! > --------------end--------- > > gives me > > 1: <test> > 2: <important/> <!----> > 3: </test> > Line no. 2 is important! > > > The label and reference works, but the label is not fully > removed. <!----> is left behind. > > Thanks! > Martin > > > > _______________________________________________ > 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 _______________________________________________ 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