Open Bug 1208732 Opened 9 years ago Updated 9 years ago

Bogus blank line inserting after quote

Categories

(Bugzilla :: Bugzilla-General, defect)

5.0.1
defect
Not set
normal

Tracking

()

People

(Reporter: octoploid, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2520.0 Safari/537.36

Steps to reproduce:

Bugzilla inserts a bogus new line after all quotations, even if the author
added a newline himself.


Actual results:

> quote
without blank line from author (OK)

>quote2

author already inserted a blank line, but Bugzilla adds a bogus second one.


Expected results:

This only happens in the Web front-end, emails are fine.
Hmm, it looks OK above.
But you can find many examples of the bug in the gcc bugzilla:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650 comment#1
email is fine:
http://thread.gmane.org/gmane.comp.gcc.bugs/460924/focus=460927
That's due to these CSS rules, added in bug 524915:

.bz_comment_text span.quote {
    color: #65379C;
    white-space: pre;
    overflow: auto; <---
    display: block; <---
}

display: block; causes an extra newline to be added after the quoted text. Fixing bug 688205 should automatically fix this problem, see bug 688205 comment 9.
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.