[TIDOC-2056](3_5_X) Fixed pretty print issue in ListItem