Fix for #34

Scanning attributes using '' instead of "" where assigned incorrect tag
type when last attribute ended with /