Closed Bug 1518576 Opened 5 years ago Closed 5 years ago

"This bug was filed from the Socorro interface" now gets rendered with huge h1 styling, now that bugzilla supports markdown

Categories

(Socorro :: General, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: willkg)

References

Details

Attachments

(2 files)

Bugs filed via the socorro interface start out like so:

This bug was filed from the Socorro interface and is
report bp-0000-etc
=============================================================

Now that bugzilla supports markdown, that === underline is interpreted as a signal to render this annotation as <h1>, which makes it way more intrusive than it intends to be.

We should adjust this annotation to not use this ===== anymore. One option: we can use --- instead to generate a horizontal line, like so:


(^ Horizontal line)

Do you have an example bug I could look at?

The bug I encountered this on was https://bugzilla.mozilla.org/show_bug.cgi?id=1518524, though it's security sensitive, so you might not be able to see it.

Some older bugs (pre-markdown-switchover) with this same boilerplate are:
https://bugzilla.mozilla.org/show_bug.cgi?id=1382117
https://bugzilla.mozilla.org/show_bug.cgi?id=1382118

Those older bugs don't render as markdown since they predated the switch, so you won't see the issue there. But if you paste their 0th comment text into a bugzilla comment field and then click the "preview" tab above the comment field, you'll see how they look in this new post-markdown world.

I'll toss it in the queue of things to fix. Thank you!

Priority: -- → P2

Landed in master in https://github.com/mozilla-services/socorro/commit/9b6876460d08b707033487ab92937201928b690f

I'll push it out in the next few days--waiting on a breakpad client update first.

Marking as FIXED.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
See Also: → 1520221
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: