Martyn Jago writes: > Hi, > > Andreas Leha writes: > >> Hi all, >> >> I experience unexpected behaviour when an inline source block is not >> preceded by whitespace. >> >> Example: >> ======================= >> * Test inline >> This is a functional inline src_R{print("source block")}. >> >> This (src_R{print("here")}) is not. >> ======================= >> >> Regards, >> Andreas > > I can confirm this behaviour and provide a patch to allow for inline > source blocks to be preceded by punctuation, or, for instance, enclosed > in parenthesis, as in Andreas' example. Patch is attached for > consideration. > > Best, Martyn This is an updated version of the previous patch, with debug noise removed, and a couple of extra tests. Best, Martyn