Closed Bug 170822 Opened 23 years ago Closed 23 years ago

Linkification process destroys whitespace

Categories

(Bugzilla :: Bugzilla-General, defect)

2.17
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: gerv, Assigned: gerv)

Details

Attachments

(1 file, 1 obsolete file)

Currently, the linkification process destroys whitespace - it's preserved, but the output template doesn't use <pre> tags and so the browser collapses it. We should use <pre> tags, and make it more obvious what's going on on the page. Gerv
Attached patch Patch v.1 (obsolete) — Splinter Review
Use <pre> tags to preserve whitespace, add <hr>s for separation. Gerv
kiko: you reviewed the original. Can you rubber-stamp this tiny improvement? It makes the whole thing behave much more like someone would expect. Gerv
Comment on attachment 100629 [details] [diff] [review] Patch v.1 You need to not indent the quoteurls thing, and/or use [%- -%], or you get extra spacings - see comments.html.tmpl
Attachment #100629 - Flags: review-
Attached patch Patch v.2Splinter Review
v.2 - with review fixes. Gerv
Attachment #100629 - Attachment is obsolete: true
Comment on attachment 100790 [details] [diff] [review] Patch v.2 r=bbaetz
Attachment #100790 - Flags: review+
Fixed. Checking in template/en/default/pages/linkify.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/pages/linkify.html.tmpl,v <-- linkify.html.tmpl new revision: 1.2; previous revision: 1.1 done Checking in template/en/default/pages/linked.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/pages/linked.html.tmpl,v <-- linked.html.tmpl new revision: 1.2; previous revision: 1.1 done Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: