code: function filterAttributes (name, attributes) {
    const filtered = {}
  
    if (attributes.href) {
      filtered.href = attributes.href
    }
  
    return filtered
  }
docs: Filter the html attributes Return only the relevant ones