def convert_template(template):
 template['annotated_body'] = html4annotation(template['annotated_body'], template['url'], proxy_resources=True)

def convert_template ( template ) : template [ 'annotated_body' ] = html4annotation ( template [ 'annotated_body' ] , template [ 'url' ] , proxy_resources = True )
converts the template annotated body for being used in the ui .