def generate_sub_section(self, issues, prefix):
log = "<STR_LIT>"<EOL>if issues:<EOL><INDENT>if not self.options.simple_list:<EOL><INDENT>log += u"<STR_LIT>".format(prefix)<EOL><DEDENT>for issue in issues:<EOL><INDENT>merge_string = self.get_string_for_issue(issue)<EOL>log += u"<STR_LIT>".format(merge_string)<EOL><DEDENT>log += "<STR_LIT:\n>"<EOL><DEDENT>return log<EOL>
Generate formated list of issues for changelog.

:param list issues: Issues to put in sub-section.
:param str prefix: Title of sub-section.
:rtype: str
:return: Generated ready-to-add sub-section.