Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833814 - Leading and repeated whitespace in message body stripped
Summary: Leading and repeated whitespace in message body stripped
Status: UNCONFIRMED
Alias: None
Product: Websites
Classification: Unclassified
Component: Archives (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL: https://archives.gentoo.org/gentoo-de...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-21 01:46 UTC by Oskari Pirhonen
Modified: 2022-06-04 04:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oskari Pirhonen 2022-02-21 01:46:46 UTC
Message bodies have their leading whitespace removed resulting in the message looking like it's all left aligned even if it's not.

My email as seen in the Gentoo Archives (Wayback Machine to preserve the current state): https://web.archive.org/web/20220221012538/https://archives.gentoo.org/gentoo-dev/message/b9c41c3eee11dfd67ae2ac09b47ee614

Compare to my email as seen in MARC: https://marc.info/?l=gentoo-dev&m=164540458304358
Comment 1 Oskari Pirhonen 2022-06-04 04:52:34 UTC
It looks like it's not just leading whitespace that gets removed. Multiple whitespaces gets truncated to a single whitespace as well.

Basic example:

    Something  like   this.

becomes:

Something like this.

This goes against the expected behavior of monospace blocks respecting pre-formatted text. Not to mention, it destroys the readability of patches, example snippets, etc that are posted onto the ml.

Real world example: https://web.archive.org/web/20220604044150/https://archives.gentoo.org/gentoo-dev/message/93b543cbf87635ff114808188305d5b9

vs

The same email in MARC: https://marc.info/?l=gentoo-dev&m=165430164524992