Apply list span on selection, not the entire string
Ignore empty lines for lists
Style fixes on list item spans