Thread:Extension talk:Scribunto/Return value starting with an asterisk gets extra line break if invoke is not at line begin

When an returns a string starting with "*" and that invoke is immediately preceded by some text (i.e. not at line begin), the return value does not get appended to the preceding text as one would expect, but an extra line break is inserted between the preceding text and the return value. This is unacceptable, as it breaks constructions such as. See en:Module talk:Sandbox/Blahma/Asterisk for demonstration. The used module is a dummy "return frame.args[1]" function. You may paste the source code into en:Special:ExpandTemplates to see that extra line break. Probably, wiki markup in the return value is being processed before the output is concatenated with the surrounding wikitext. Is this something that is considered normal behavior, or shall I file a bug report?