Fix #40 - Trim whitespace from ids and classes