#3905 add tests
#3908 white-space should not be preserved in list elements