Yet another can't get a graph in an email alert

Firstly, here’s my current template:

<div style="font-family:Helvetica;">
<h2>
 <center>
@if ($alert->state == 1)
  <body bgcolor="#FF0000">
   <span style="color:white;"><font size="8">Disk space critical</font>
@endif
<br>
@if ($alert->faults) <b>Faults:</b><br>
@foreach ($alert->faults as $key => $value)
<img src="http://server.com/graph.php?device={{ $value['device_id'] }}&type=device_storage&width=459&height=213&lazy_w=552&from=end-72h"><br>
@endforeach 
@endif
   </body>
</span>

@if ($alert->state == 0)
   <body bgcolor="#00FF00">
   <span style="color:black;"><font size="8">Disk space normal</font>
   </body>
@endif
</span>

</body>
</center>
</h2>

<font color="white">
<font size="6">
<center>
<b>Hostname:</b> {{ $alert->hostname }}<br>
<b>Host IP:</b> {{ $alert->ip }}<br>
<b>Duration:</b> {{ $alert->elapsed }}<br>
</center>
<br>
</font>

@if ($alert->faults)
@foreach ($alert->faults as $key => $value) 
<b>{{ $value['service_desc'] }} - {{ $value['service_type'] }}</b>
<br>
{{ $value['service_message'] }}<br>
<br>
@endforeach                                                                                                              
@endif
</div>

This is based directly from the docs, which has the template for a graph being:

@if ($alert->faults) <b>Faults:</b><br>
@foreach ($alert->faults as $key => $value)<img src="https://server/graph.php?device={{ $value['device_id'] }}&type=device_processor&width=459&height=213&lazy_w=552&from=end-72h><br>
@endforeach 

…changing the graph in question of course.

This has the effect of producing the following link when the email is spat out:

Which doesn’t work.

This format does:

http://server.com/graph.php?device=32&type=device_storage&width=459&height=213&lazy_w=552&from=end-72h

Which, presented side by side is identical to the configuration other than the device ID.

From what I can see, the configuration is fine, but the link that’s created is modified in such a way that it doesn’t work.

In short,

This works:

http://server.com/graph.php?device=32&type=device_storage&width=459&height=213&lazy_w=552&from=end-72h

This is the configuration:

http://server.com/graph.php?device={{ $value[‘device_id’] }}&type=device_storage&width=459&height=213&lazy_w=552&from=end-72h

This is the output that doesn’t work:

http://server.com/graph.php?device=32&amp;type=device_storage&amp;width=459&height=213&amp;lazy_w=552&amp;from=end-72h

I’m at a loss where the encoding is falling down with regards to &.