Combine inline elements