add indent and inter-section for span