I’m puzzled. There are unnecessary whitespaces inserted. In the Original version that’s not the case. See details and screenshot below. How can I fix that?
My Browser: Firefox142.0 (64-bit) but the problem occurs in Chrome too.
I can’t speak to what’s happening behind the scenes to add the whitespace, but by meddling with the HTML directly, I can see what needs to be done conceptually:
It is missing \whitespace trim after the macro definitions. eg:
\define tag-body-inner(colour,fallbackTarget,colourA,colourB)
\whitespace trim
and
\define tag-body(colour,palette)
\whitespace trim
May be only one of them is needed. I did change both and it seems to work.
I do not know how old the plugin is and what it exactly does. But I think the existing core tag** macros should be able to handle that stuff now. – But as I wrote. I do not know the plugin well enough.