Run each individual class through sanitize_html_class instead of the complete class attribute value

Fixes #26 issues with spaces being stripped from multiple class strings