Fixed pretty print issue in ListItem
Merge pull request #6484 from tstatler/TIDOC-2056_3_5_X

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