Detect closing HTML tags after link.