support api tag hrefs and // style hrefs