We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a29bce commit 3112562Copy full SHA for 3112562
src/Resources/views/http_message.html.twig
@@ -17,9 +17,16 @@
17
{% set content = content ~ "\n" ~ row %}
18
{% else %}
19
{% set row = row|split(':') %}
20
+ {% set value = row|slice(1)|join(':')|trim %}
21
<tr>
22
<th>{{ row[0] }}</th>
- <td>{{ row|slice(1)|join(':')|trim }}</td>
23
+ <td>
24
+ {% if value matches '#^http(?s)://#' %}
25
+ <a href="{{ value }}">{{ value }}</a>
26
+ {% else %}
27
+ {{ value }}
28
+ {% endif %}
29
+ </td>
30
</tr>
31
{% endif %}
32
{% endfor %}
0 commit comments