Don't remove whitespace from li RT58472

when it is between inline elements

(cherry picked from commit 527112610d0e0bfb50e74c05d5d30602b5d2a904)