def body_block_attribution(tag):
attributions = []<EOL>if raw_parser.attrib(tag):<EOL><INDENT>for attrib_tag in raw_parser.attrib(tag):<EOL><INDENT>attributions.append(node_contents_str(attrib_tag))<EOL><DEDENT><DEDENT>if raw_parser.permissions(tag):<EOL><INDENT>for permissions_tag in raw_parser.permissions(tag):<EOL><INDENT>attrib_string = '<STR_LIT>'<EOL>attrib_string = join_sentences(attrib_string,<EOL>node_contents_str(raw_parser.copyright_statement(permissions_tag)), '<STR_LIT:.>')<EOL>if raw_parser.licence_p(permissions_tag):<EOL><INDENT>for licence_p_tag in raw_parser.licence_p(permissions_tag):<EOL><INDENT>attrib_string = join_sentences(attrib_string,<EOL>node_contents_str(licence_p_tag), '<STR_LIT:.>')<EOL><DEDENT><DEDENT>if attrib_string != '<STR_LIT>':<EOL><INDENT>attributions.append(attrib_string)<EOL><DEDENT><DEDENT><DEDENT>return attributions<EOL>
extract the attribution content for figures, tables, videos