Dear Lee,
Sorry, your solution is wrong. You need to add 'target' => '_blank' to the existing array instead of putting it in a new one and pushing the existing array to the fourth parameter of the method and therefore removing its elements from the attributes of the tag that the html_writer produces.
G
Sorry, your solution is wrong. You need to add 'target' => '_blank' to the existing array instead of putting it in a new one and pushing the existing array to the fourth parameter of the method and therefore removing its elements from the attributes of the tag that the html_writer produces.
G