[openstreetmap/openstreetmap-website] User message HTML email notifications footer is not rendered (#2903)

Eric G. notifications at github.com
Thu Oct 22 13:09:57 UTC 2020


Email notifications used to have a footer if I remeber correctly, and that seems in line with [the template](https://github.com/openstreetmap/openstreetmap-website/blob/2c1033f62d450b7ed82058ee89d99983b7d97829/app/views/user_mailer/message_notification.html.erb#L14-L20).

But for at least a few days, the HTML part is truncated and don't include the footer. The plaintext version works fine however :

```
----==_mimepart_5f91832ca5928_e0176269818620b2
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Bonjour gileri,=0D
=0D
bot_gileri vous a envoy=C3=A9 un message depuis OpenStreetMap avec le suj=
et test=C2=A0:=0D
=0D
=3D=3D=0D
test=0D
=3D=3D=0D
=0D
Vous pouvez aussi lire le message sur=0D
https://www.openstreetmap.org/messages/897959 ou envoyer un message =C3=A0=
 l'auteur=0D
sur https://www.openstreetmap.org/messages/897959/reply=0D

----==_mimepart_5f91832ca5928_e0176269818620b2
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>=0D
  Bonjour gileri,=0D
</p>=0D
<p>=0D
  <a target=3D"_blank" rel=3D"noopener" style=3D"text-decoration: none; c=
olor: #222" href=3D"https://www.openstreetmap.org/user/bot_gileri"><stron=
g style=3D"text-decoration: none">bot_gileri</strong></a> vous a envoy=C3=
=A9 un message depuis OpenStreetMap avec le sujet <em>test</em>=C2=A0:=0D=

</p>=0D
=0D
<table style=3D"font-size: 15px; margin: 15px 0px; background-color: #eee=
; width: 100%">=0D
  <tr>=0D
    <td style=3D"width: 50px; min-width: 50px; vertical-align: top; paddi=
ng: 15px">=0D
      <a target=3D"_blank" rel=3D"noopener" href=3D"https://www.openstree=
tmap.org/user/bot_gileri"><img alt=3D"bot_gileri" title=3D"bot_gileri" wi=
dth=3D"50" height=3D"50" border=3D"0" src=3D"cid:5f91832ca3b00_e017626981=
8619e8 at spike-07.openstreetmap.org.mail" /></a>=0D
    </td>=0D
    <td style=3D"text-align: left; vertical-align: top; padding-right: 10=
px; width: 100%">=0D
      =0D
  <p>test</p>=0D
=0D
=0D
    </td>=0D
  </tr>=0D
</table>=0D
=0D

----==_mimepart_5f91832ca5928_e0176269818620b2--
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2903
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201022/7f94efa1/attachment.htm>


More information about the rails-dev mailing list