Adding a linkElement or an inlineGraphicElement to a paragraphElement also adds a spanElement.
In my case it is unfortunate - because I am adding an inline graphic with the width of the composition - the extra span elelment causes an extra line in the composition. If I use p.removeChild(spanElement) - it is automatically replaced again.
Is there a solution to this - such that I can have a full width inline graphic with no space below it?