Edgewall Software
Modify

Opened 17 years ago

Closed 16 years ago

#4899 closed defect (fixed)

[PATCH] Monspace can affect paragraph line-wrap

Reported by: jason Owned by: Matthew Good
Priority: low Milestone: 0.11
Component: wiki system Version:
Severity: minor Keywords: iexplorer
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Try to add this paragraph to a wiki page:

By the way, blah blah blah, blah blah blah, and blah blah blah on the text and you find then this is an issue that must be fixed by blah blah blah with a blah that is blah blah and the text in the Some Long Monospace string that could force a line wrap to occur file and merging with the rest of your blah blah. Blah blah blah must be added as constants in Another.Long.Filename.All.In.Monospace rather than blah blah blah in place of blah. That way if the blah blah blah needs to blah blah blah we only have to blah blah blah.

Notice that the paragraph line-wrap kinda just stops at some point and the text just runs off the edge of the browser. I'm using IE6. Haven't tried other browsers but this really should work in IE. I've tried different varitions of the paragraph but can't see an obvious pattern that causes it. I've also noticed that even changing the width of the browser can affect line-wrap correctness.

Attachments (1)

monospace.patch (477 bytes ) - added by john.m.camara 16 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Christian Boos, 17 years ago

Keywords: iexplorer added
Milestone: 0.12

Wow, indeed, the rendering is quite broken in IE (same thing for IE7).

Works as expected in Firefox and Opera.

comment:2 by Matthew Good, 17 years ago

Milestone: 0.120.11
Owner: changed from Christian Boos to Matthew Good
Status: newassigned

This is related to r3742 which added tt { white-space: pre } to the CSS. There appear to be some tricks to use the "pre-wrap" mode which looks like it will work better: http://mail.python.org/pipermail/tracker-discuss/2007-January/000436.html

by john.m.camara, 16 years ago

Attachment: monospace.patch added

comment:3 by john.m.camara, 16 years ago

Milestone: 0.11.10.11
Summary: Monspace can affect paragraph line-wrap[PATCH] Monspace can affect paragraph line-wrap

I have applied the following monospace.patch and have not noted any ill effects in ie7 and firefox2.

comment:4 by John Hampton, 16 years ago

Resolution: fixed
Status: assignedclosed

Committed patch in [6737]. Thanks for the patch John.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.