Also, add newlines after ul tags for better readability. Bug #45807 (cherry picked from commit bf81250f)