better link & title handling