Modify html to txt converter for new functions.