Fixed paragraph merging with adjacent inline commands.