View Issue Details

IDProjectCategoryView StatusLast Update
0000101Aardvark BugsAardvark Mk IIIpublic2009-07-02 19:15
Reportergeoffclare Assigned Tomsbrown  
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Summary0000101: mantis squeezes multiple spaces
DescriptionThis 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 ActionArrange for the second column in:

    first column second column
    row1 column1 row1 column2
    r2c1 r2c2

to line up when displayed by Mantis.
TagsNo tags attached.

Activities

geoffclare

2009-06-30 08:35

manager   bugnote:0000139

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.)

msbrown

2009-07-01 20:56

manager   bugnote:0000146

Last edited: 2009-07-02 19:08

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.


msbrown

2009-07-02 19:15

manager   bugnote:0000149

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    monospaced 
and this text is not.

Issue History

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