(bug 44518) Don't display <li> elements for |format=list

Change-Id: Ie72a4192a79ebaffed8bb43444d1a0ccebe9be58
Merge "(bug 44518) Don't display <li> elements for |format=list"