I am using atlassian merging , and I need a way to change the size, family, and color of the text using a custom macro. I defined my macro as follows:
Now the user can select this macro "Stylish" as such:

However, merging automatically adds a new tag
with the content I want to appear next to it. Suppose I had the text:
The brown fox jumped over the cow.
And I wanted to set the background color of the word fox to red and its highlight color to yellow. If I apply this macro to this word, I get something like this:

Thus, it automatically places a new line in the word to which the macro is assigned. I want it to contain the whole sentence and apply formatting to one word. Even if I select inline in the options, it still puts it on a new line.
The result is as follows:

Here is the screen shot in edit mode:

I chose it inline and published the page, but the result shows the brown on one line of fox on another line and finally jumped over the cow on another line. Atlassian Confluence 5.4.4 This macro should work as a <span> tag so that the element does not appear as a block style element.
Jonh source share