! added ability to ignore spaces for wrap_words_in_spans.
! placed spaces inside spans arther than outside (may be a bad idea)