inline LI whitespace ignored

When declared via CSS as li { display: inline }, whitespace around LIs and leading whitespace before LI content ignored