'Requires:
line --line to parse
Returns:
nothing
Logic:
This function writes the end tags for a paragraph and
changes the state to not_paragraph.'

def __close_para_func(self, line):

    self.__write_obj.write(self.__end2_marker)
    self.__write_obj.write('mi<tg<close_____<para\n')
    self.__write_obj.write(self.__end_marker)
    self.__write_obj.write(line)
    self.__state = 'not_paragraph'
