Comment 2 for bug 402247

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Fixing this bug causes a regression in Banshee, Exaile, and possibly some other media players I'm not aware about. At least in the case of Banshee, the "Now Playing" notifications are formatted as such:

"${title}
<i>${artist}</i>"

And it has worked pretty nicely for quite some time already. The whole newline-to-space change has caused it to become "${title} ${artist}" (note that formatting is also removed) so that my title and artist has been squashed together into one line and look like a single string.

If you're going to be making changes like this, do change the wikipage accordingly beforehand, please, and announce it somewhere somehow. Here's a snippet of the wikipage:
============================================================================================================
Body text

The body should be 0.9 × the standard application font size, of color #eaeaea, standard weight, and should not contain any extra formatting.

In the body text, any string of one or more consecutive whitespace characters that contains at least one newline (U+000D CARRIAGE RETURN (CR), U+000A LINE FEED (LF), or U+000D CARRIAGE RETURN (CR) immediately followed by U+000A LINE FEED (LF)), even if a mixture of those, should be treated as a single newline. Then for each line in the text, any string of one or more consecutive (non-newline) whitespace characters, even if a mixture of them, should be treated as a single space, and leading and trailing whitespace should not be presented.
============================================================================================================