mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Line numbers are 1 based. Fixes issue #5.
This commit is contained in:
parent
faf840a113
commit
638a62d775
1 changed files with 1 additions and 1 deletions
|
@ -1 +1 @@
|
|||
{% load dpaste_tags %}<pre class="prettyprint linenums"><ol class="linenums">{% for line in snippet|highlight %}<li id="{{ forloop.counter0 }}">{{ line|safe|default:" " }}</li>{% endfor %}</ol></pre>
|
||||
{% load dpaste_tags %}<pre class="prettyprint linenums"><ol class="linenums">{% for line in snippet|highlight %}<li id="{{ forloop.counter }}">{{ line|safe|default:" " }}</li>{% endfor %}</ol></pre>
|
Loading…
Reference in a new issue