mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 01:57:02 +00:00
webui, rest: Render UTF-8 addresses correctly, fixes #117
This commit is contained in:
@@ -51,12 +51,12 @@
|
||||
<div class="panel-body">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>From:</dt>
|
||||
<dd>{{.message.From}}</dd>
|
||||
<dd>{{.message.From | address}}</dd>
|
||||
<dt>To:</dt>
|
||||
<dd>
|
||||
{{range $i, $addr := .message.To}}
|
||||
{{- if $i}},{{end}}
|
||||
{{$addr -}}
|
||||
{{$addr | address -}}
|
||||
{{end}}
|
||||
</dd>
|
||||
<dt>Date:</dt>
|
||||
|
||||
Reference in New Issue
Block a user