mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Add safe to number rendering
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
<pre class="src-line-numbers">
|
||||
{% for line in lines.clone() %}
|
||||
{% if embedded %}
|
||||
<span>{{line}}</span>
|
||||
<span>{{line|safe}}</span>
|
||||
{%~ else %}
|
||||
<a href="#{{line}}" id="{{line}}">{{line}}</a>
|
||||
<a href="#{{line|safe}}" id="{{line|safe}}">{{line|safe}}</a>
|
||||
{%~ endif %}
|
||||
{% endfor %}
|
||||
</pre> {# #}
|
||||
|
||||
Reference in New Issue
Block a user