Skip to content

Commit

Permalink
Tweak Twig output
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Mar 11, 2024
1 parent bf337c2 commit 7a494ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/templates/_utility.twig
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
{{- hint.line ? ':' ~ hint.line }}
<span class="info">
{% for trace in hint.stackTrace %}
{% set index = loop.index0 %}
{% set output -%}
{% for i in 0..index %}→{% endfor %}
{%- endset %}
{{ output|slice(1)|raw }}
<code>
{% set index = loop.index0 %}
{% set output -%}
{% for i in 0..index %}→{% endfor %}
{{ trace|e|replace('/', '/<wbr>')|raw }}
{%- endset %}
{{ output|slice(1)|raw }}
{{ trace|e|replace('/', '/<wbr>')|raw }}
</code>
<br>
{% endfor %}
Expand Down

0 comments on commit 7a494ce

Please sign in to comment.