Attachment comments don't render markdown, but their preview does
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, defect, P3)
Tracking
()
People
(Reporter: bytesized, Assigned: dkl)
References
(Regression)
Details
Attachments
(1 file)
I just left a comment on a Bugzilla attachment, and it doesn't look right. It's using a monospace font and none of my markdown rendered. This seems unexpected to me, especially because in the original "Preview" tab, and in the "Edit Comment" "Preview" tab, it renders as I would expect.
I left the comment from this page: https://bugzilla.mozilla.org/attachment.cgi?id=9154380&action=edit
I took a look at Bug 1518967, since it seemed related. I then went back to the page where I left the comment, and saw that this element does seem to be on that page: <input type="hidden" name="markdown_off" value="1">
.
But the original reason that was done does not apply to me. I didn't click the "Edit attachment as comment" button. So this feels like a bug. Even if we do, in fact, want this behavior, the preview should match what will actually be posted, rather than rendering markdown that won't actually be rendered.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Oh, whoops. I was sure I had linked to the actual comment that had the issue, but it seems that I did not. Here it is: https://bugzilla.mozilla.org/show_bug.cgi?id=1612055#c13
Reporter | ||
Comment 2•4 years ago
|
||
I think I put this in the wrong component. Perhaps it fits better here?
I'm able to reproduce. Looks like a bug.
Moving to the right product/component and setting default assignee.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
This was merged and is live in production.
Description
•