nathank
(Nathan Kershaw)
29. Juli 2026 um 23:02
1
Ich habe gerade eine Benachrichtigung über eine Umfrage für alle Nutzer unserer Website verschickt. Es ist eine Kleinigkeit, aber in der E-Mail-Benachrichtigung wird der Titel der Umfrage doppelt doppelt angezeigt.
Hier ist der Titel der Umfrage auf der Website (mit einer Überschrift darüber):
Und in der Benachrichtigungs-E-Mail (über Gmail):
Es sieht einfach nur unordentlich / unprofessionell aus.
Könnte sich jemand bitte darum kümmern?
Danke für den Bericht @nathank Wird behoben durch
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 „Gefällt mir“