From 3c295c344aaab3209d8db907337ac0d082e4e9a6 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 5 Apr 2018 21:16:51 +0200 Subject: [PATCH] Fixed History items. --- dpaste/templates/dpaste/history.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dpaste/templates/dpaste/history.html b/dpaste/templates/dpaste/history.html index f0aa7a7..cd4845b 100644 --- a/dpaste/templates/dpaste/history.html +++ b/dpaste/templates/dpaste/history.html @@ -41,11 +41,7 @@ {% blocktrans with snippet.published|timesince as since %}Created {{ since }} ago{% endblocktrans %} - {% if snippet.lexer == '_text' %} -
{% include "dpaste/highlight/text.html" %}
- {% else %} -
{% include "dpaste/highlight/code.html" %}
- {% endif %} + {{ snippet.highlight }} {% empty %}