def METHOD_NAME(self, xml_template):
    span = f'<span class="pb-clarification">{self.clarification_text}</span>'
    escaped_span = escape(span, quote=True)
    return xml_template.format(
        clarify=span,
        clarify_escaped=escaped_span
    )