Closed
Bug 1093868
Opened 10 years ago
Closed 10 years ago
Markdown text rendering in comments is broken after commit from bug 1059684
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: dkl, Assigned: altlist)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
753 bytes,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
Moved from bug 1059684
This patch committed in bug 1059684 has a few critical flaws that need to be resolved:
1) It breaks "bug xyz" and "bugs 1, 2" auto-linkfications
2) It makes Markdown comments look with a different font
3) and it also makes inline spacing in Markdown comments bigger since there is no any class defined for <p>.
Updated•10 years ago
|
Depends on: 1059684
Keywords: regression
(In reply to David Lawrence [:dkl] from comment #0)
> 2) It makes Markdown comments look with a different font
this isn't a bug. one of the main benefits of switching to markdown is moving away from a monospaced font.
Assignee | ||
Comment 2•10 years ago
|
||
I'm trying to use Markdown for 5.0 and #1 is blocking me. #3 is a minor issue and suggest moving it to a separate ticket.
For #1, a quick patch is to revert back to the original code, where it only replaces newlines with two trailing spaces. That fixes my issue
Attachment #8575677 -
Flags: review?(dkl)
Assignee | ||
Comment 3•10 years ago
|
||
While the v1 patch worked, it doesn't allow you to embed bug_links in markdown constructs, such as headers.
v2 patch, where I remove new lines from all bug_links. I had to hack it a bit, I escape '|' in the titles as it confused markdown tables. There's probably a better way to do that but it works.
Attachment #8575677 -
Attachment is obsolete: true
Attachment #8575677 -
Flags: review?(dkl)
Attachment #8576198 -
Flags: review?(dkl)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8576198 [details] [diff] [review]
v2
Review of attachment 8576198 [details] [diff] [review]:
-----------------------------------------------------------------
r=dkl
Attachment #8576198 -
Flags: review?(dkl) → review+
Reporter | ||
Updated•10 years ago
|
Flags: approval?
Reporter | ||
Comment 5•10 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
f293fdf..1fbcede master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•