check text/html type in ExtractLinks