Links with dedicated targets seem to have an issue with source blocks.
Here's an example. This is file file.org:
<<aaa>>
aaa
<<bbb>>
bbb
End of file
Now, I'd like to include paragraph <<aaa>> into my document:
#+transclude: [[./file.org::aaa]]
This works fine, it includes only one paragaph:
But if I want to put the paragraph inside a source block:
#+transclude: [[./file.org::aaa]] :src sh
then all paragraphs up to the end of the file are included:
#+begin_src sh
<<aaa>>
aaa
<<bbb>>
bbb
End of file
#+end_src
Links with dedicated targets seem to have an issue with source blocks.
Here's an example. This is file
file.org:Now, I'd like to include paragraph
<<aaa>>into my document:This works fine, it includes only one paragaph:
But if I want to put the paragraph inside a source block:
then all paragraphs up to the end of the file are included: