def _fix_list_dyn_func(list):
open_func_string = False<EOL>new_list = []<EOL>for element in list:<EOL><INDENT>if '<STR_LIT>' in element:<EOL><INDENT>open_func_string = True<EOL>new_link = [element]<EOL><DEDENT>elif '<STR_LIT>' in element:<EOL><INDENT>new_link.append(element)<EOL>open_func_string = False<EOL>element = "<STR_LIT:U+002C>".join(new_link)<EOL>new_list.append(element)<EOL><DEDENT>elif open_func_string:<EOL><INDENT>new_link.append(element)<EOL><DEDENT>else:<EOL><INDENT>new_list.append(element)<EOL><DEDENT><DEDENT>return new_list<EOL>
This searches a list for dynamic function fragments, which may have been cut by generic searches for ",|;".

Example:
`link_a, [[copy('links', need_id)]]` this will be splitted in list of 3 parts:

#. link_a
#. [[copy('links'
#. need_id)]]

This function fixes the above list to the following:

#. link_a
#. [[copy('links', need_id)]]

:param list: list which may contain splitted function calls
:return: list of fixed elements