diff --git a/dpaste/templates/dpaste/snippet_details.html b/dpaste/templates/dpaste/snippet_details.html index 83f71a2..b808041 100644 --- a/dpaste/templates/dpaste/snippet_details.html +++ b/dpaste/templates/dpaste/snippet_details.html @@ -70,9 +70,11 @@ Snippet ======================================================================= --> {% if snippet.lexer == 'text' %} -
- {{ snippet.content|linebreaksbr }} -
+ {% comment %} + Note that the interpolation of snippet_content needs to be a single line- downstream may be + using styling that converts snippet-rendered to an effective pre to preserve whitespace indentation. + {% endcomment %} +
{{ snippet.content|linebreaksbr }}
{% else %} {% include "dpaste/snippet_pre.html" %} {% endif %}