Moving newlines out of <p> element in tree builder to come up with correct top and bottom gap
Fixed bug in list RTD generation