%page args="artist, image, shortbio, fullbio, stylesheet, datasource" /> <%! import re import cgi remove_links = re.compile ('?a[^>]*> ',re.VERBOSE) def cleanup(text): if text is None: return _("No information available") text = remove_links.sub ('', text) text = text.replace('\n', '
') return text %>
%if error is None:${shortbio}
${fullbio}
${ _("Read less") }${datasource}
%else:${error | h}
%endif