Add support for parsing if/else tags
Fix bug in parsing attributes with a non-embed value