View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000101 | Aardvark Bugs | Aardvark Mk III | public | 2009-06-30 08:31 | 2009-07-02 19:15 |
| Reporter | geoffclare | Assigned To | msbrown | ||
| Priority | normal | Severity | Editorial | Type | Error |
| Status | Closed | Resolution | Accepted | ||
| Name | Geoff Clare | ||||
| Organization | The Open Group | ||||
| User Reference | |||||
| Summary | 0000101: mantis squeezes multiple spaces | ||||
| Description | This is only a minor issue, but if there is an easy fix it would be worth doing. When there are multiple non-leading spaces in the description (and, I assume, the desired action) text, Mantis displays a single space when viewed in the web browser. The spaces are intact in the email notification, so my guess is they are preserved in the database but squeezed during the display process. This will affect any quotes from tables or tagged paragraphs. Here's an example: first column second column row1 column1 row1 column2 r2c1 r2c2 When displayed in a web browser, I expect the first column will line up but the second will not. | ||||
| Desired Action | Arrange for the second column in: first column second column row1 column1 row1 column2 r2c1 r2c2 to line up when displayed by Mantis. | ||||
| Tags | No tags attached. | ||||
|
|
Obviously I hadn't thought the issue through completely. Even if the spaces are preserved, the second column still won't line up in the browser because of the use of a proportional font. However, I think the fix would still be worth doing as preserving the spaces will at least provide some visual separation of the columns. (You could also consider displaying the Description and Desired Action text in monospace font.) |
|
|
I'm adding some test text here for my own clarification:01234567890123456789012345678901234567890123456789 Every word is separated by two spaces. This line starts with two spaces. Three spaces separate these words. |
|
|
I have fixed this by allowing the HTML marker "pre" to work in the Description, Desired Action, and Note fields. It works by surrounding the text to be monospaced by these markers as in this text is monospacedand this text is not. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-06-30 08:31 | geoffclare | New Issue | |
| 2009-06-30 08:31 | geoffclare | Name | => Geoff Clare |
| 2009-06-30 08:31 | geoffclare | Organization | => The Open Group |
| 2009-06-30 08:35 | geoffclare | Note Added: 0000139 | |
| 2009-06-30 14:01 | msbrown | Assigned To | => msbrown |
| 2009-06-30 14:01 | msbrown | Status | New => Under Review |
| 2009-07-01 20:56 | msbrown | Note Added: 0000146 | |
| 2009-07-02 19:08 | msbrown | Note Edited: 0000146 | |
| 2009-07-02 19:15 | msbrown | Note Added: 0000149 | |
| 2009-07-02 19:15 | msbrown | Status | Under Review => Closed |
| 2009-07-02 19:15 | msbrown | Resolution | Open => Accepted |