Layout "inline" macro converted to "block" type when the exceed 2 rows of text

Layout “inline” macro automatically converted to “block” type when exceed to become multiple line.

When the macro layout is set to inline, the expected output is inline with the other element in the paragraph which is correct.

However, when the long that end up expanded to multiple line. The macro behave like a block type which is not the expect “inline” behavior. This is a same macro except that I added more text to the string to show as example.

Expected behavior should be this.
image