fix(ngdocs): parse dom before checking for broken links