{# Django template for Code #} {% load components %}
{% for line in lines %}
{% if allowHtml %}{{ line.code|safe }}{% else %}{{ line.code|force_escape }}{% endif %}
{% endfor %}
{% if copyText %} {% dict label="Copy" copiedTooltip="Copied" position="left" as tooltipProps %} {% copy_to_clipboard copyText=copyText tooltipProps=tooltipProps staticBaseUrl=staticBaseUrl %}{% endcopy_to_clipboard %} {% endif %}