Handle line text correctly.