Closed
Bug 659312
Opened 12 years ago
Closed 12 years ago
Use of PRE in html exporter produces undesired results
Categories
(Calendar :: Printing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b4
People
(Reporter: tlaithwaite, Assigned: tlaithwaite)
Details
Attachments
(1 file)
1.40 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 Pre tags are used in the html exporter to preserve formatting, but the pre tags are used for the entire event making the output small with unwrapped long lines. Reproducible: Always
Assignee | ||
Comment 1•12 years ago
|
||
I have created a simple patch to change the pre tags to style pre-wrap. Formatting is preserved, but long lines are still wrapped. I tested this with some paragraphs of Lorem ipsum, with the first line of each tabbed in. This work for every paragraph except the first? Is leading whitespace removed?
Assignee | ||
Updated•12 years ago
|
Version: unspecified → Lightning 1.0b2
Updated•12 years ago
|
Attachment #534765 -
Flags: review?(philipp)
![]() |
||
Comment 2•12 years ago
|
||
Hi Tom! The preferred format for patch files is unified diff. In future please use -u8p. If your setup allows it, a git style patch and/or a Mercurial changeset patch is generally welcome.
Updated•12 years ago
|
Assignee: nobody → tlaithwaite
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 3•12 years ago
|
||
Comment on attachment 534765 [details] [diff] [review] Patch to change from pre tags to style white-space:pre-wrap The patch works great, r=philipp. I'll check this in later today.
Attachment #534765 -
Flags: review?(philipp) → review+
Comment 4•12 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/e76c429aac9c> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Comment 5•12 years ago
|
||
Backported to comm-miramar <http://hg.mozilla.org/releases/comm-miramar/rev/a280e3325271>
Target Milestone: Trunk → 1.0b4
You need to log in
before you can comment on or make changes to this bug.
Description
•