Have setPendingHtml use proper title and chapter inference functions.