Quote terminal attribute value for unary slash elements

Fixes #233