Template parser fix to support attributes with no values