link tag closed prematurely