nathank
(Nathan Kershaw)
Juillet 29, 2026, 11:02
1
Je viens d’envoyer une notification concernant un sondage à tous les utilisateurs de notre site. C’est une petite chose, mais dans la notification par e-mail, le titre du sondage est dupliqué.
Voici le titre du sondage sur le site (avec un en-tête au-dessus) :
Et dans l’e-mail de notification (via Gmail) :
Ça fait juste un peu désordonné / peu professionnel.
Y a-t-il un moyen de faire examiner cela ?
Merci pour le signalement @nathank Ce sera corrigé par
main ← fix-duplicate-poll-title-in-emails
merged 11:02AM - 30 Jul 26 UTC
Previously, the `reduce_cooked` handler appended the `.poll-title` element and t… hen the inner HTML of `.poll-container`. Since the markdown rule nests the title inside that container, every poll's title showed up twice in HTML emails — and, since they share the same code path, in digests, embedded comments and RSS feeds too.
This change drops the redundant append, leaving the container as the single source of the poll's content, and tightens the email specs to assert on the whole reduced fragment rather than with `include`, which a duplicate satisfies just as well as a single copy.
https://meta.discourse.org/t/408875
1 « J'aime »