After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732354 - Improve appearance of quotes with blank lines
Improve appearance of quotes with blank lines
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: client
master
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-27 16:28 UTC by Robert Schroll
Modified: 2021-07-05 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Schroll 2014-06-27 16:28:13 UTC
Some mailers (Mutt is one I've noticed) stick blank lines (without the quote prefix '>') into what should be a single blockquote.  We (correctly, I think) parse this into several consecutive blockquotes.  Not only is there a blank line between them, but our styling adds two sets of quote padding.  The result is a lot of wasted space in these quote blocks.  Since these blocks are only a few lines long, they don't get hiders.

We could try to notice where quotes appear consecutively and combine them into a single quote container.  This is questionable from a standards point of view, but few mails will container directly consecutive quotes that are intended to be separate.

Perhaps simpler would be to reduce the amount of padding an margins between these quotes.  We may be able to do this entirely with CSS, but I'm not entirely sure off hand.
Comment 1 Jim Nelson 2014-06-30 21:20:41 UTC
(In reply to comment #0)
> We could try to notice where quotes appear consecutively and combine them into
> a single quote container.  This is questionable from a standards point of view,
> but few mails will container directly consecutive quotes that are intended to
> be separate.

I agree, this doesn't seem likely to be an intentional quoting effect.  It's frustrating that Mutt does this.  Do you know if there's a bug filed against it for this?  (Is this intentional?)

Reducing the margins might be okay, but I'd like to see what it looks like for a "normal" quote in a conversation.
Comment 2 Federico Bruni 2017-04-11 12:09:53 UTC
I'm not sure that I understand this issue correctly...
Blank lines are different from line breaks, right? It does not separate two paragraphs, but just add further empty space. If that's the case, I agree that it may be stripped.

I've come here while searching for issues similar to bug 781178
Comment 3 Stephen Michel 2017-04-23 02:29:48 UTC
I'm not sure what the official spec is for email, but when parsing markdown, ReText renders this:

```
before

> quote_part_1

> quote_part_2

after
```

as this:

```
<p>before</p>
<blockquote>
<p>quote_part_1</p>
<p>quote_part_2</p>
</blockquote>
<p>after</p>
```

regardless of how many newlines are included between the parts.
Comment 4 GNOME Infrastructure Team 2021-07-05 13:26:28 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/geary/-/issues/

Thank you for your understanding and your help.