Ensure P mode when LI elements contain inline elements