 
 		if not hasStyledChild and (anchor = node.query('> a'))
 			node = anchor
-			href = node.attrs.get('href')
+			href = node.getAttr('href')
 			if typeof href is 'string'
 				unless @isLinkUriSet
 					@isLinkUriSet = true

					parentId = "styles:#{file}:#{style}"
					parent = @parent
					loop
						if parent and parent.node.attrs.get('neft:style') is parentId
							unless parent.scope
								# parent is not ready yet
								return


		assert.notOk @item

		id = @node.getAttr 'neft:style'
		assert.isString id

		@isScope = ///^(styles|renderer)\:///.test id
