def preformatted_text(source: str) -> str:
    """Renders preformatted text box"""
    environ.abort_thread()

    if not source:
        return ''

    source = render_utils.html_escape(source)

    return '<pre class="preformatted-textbox">{text}</pre>'.format(
        text=str(textwrap.dedent(source))
    )
def preformatted_text ( source : str ) -> str : environ . abort_thread ( ) if not source : return '' source = render_utils . html_escape ( source ) return '<pre class="preformatted-textbox">{text}</pre>' . format ( text = str ( textwrap . dedent ( source ) ) )
Renders preformatted text box