fix: If a link has children elements in side (e.g. <a><span></span></a>), clicking on it is not handled properly by PuppetJs