Add test with nested <span> as param in a list.
Fix spurious joiner added regardless whether append value is empty or not.