'Look for an open bracket or a line of text, and then print out the
self.__list_chunk. Print out the line.'

def __after_list_text_func(self, line):

    if ((line[0:2] == 'ob') or (line[0:2] == 'tx')):
        self.__state = 'default'
        self.__write_obj.write('mi<mk<lst-txbeg_\n')
        self.__write_obj.write('mi<mk<para-beg__\n')
        self.__write_obj.write('mi<mk<lst-tx-beg\n')
        self.__write_obj.write('mi<tg<open-att__<list-text\n')
        self.__write_obj.write(self.__list_chunk)
        self.__write_obj.write('mi<tg<close_____<list-text\n')
        self.__write_obj.write('mi<mk<lst-tx-end\n')
        self.__list_chunk = ''
    self.__write_obj.write(line)
