The following issue has been CLOSED.
======================================================================
http://msnkbrown.net/agtest/view.php?id=101
======================================================================
Reported By: geoffclare
Assigned To: msbrown
======================================================================
Project: Aardvark Bugs
Issue ID: 101
Category: Aardvark Mk III
Type: Error
Severity: Editorial
Priority: normal
Status: Closed
Name: Geoff Clare
Organization: The Open Group
User Reference:
Resolution: Accepted
Fixed in Version:
======================================================================
Date Submitted: 2009-06-30 08:31 UTC
Last Modified: 2009-07-02 19:15 UTC
======================================================================
Summary: 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.
======================================================================
----------------------------------------------------------------------
(0000139) geoffclare (reporter) - 2009-06-30 08:35
http://msnkbrown.net/agtest/view.php?id=101#c139
----------------------------------------------------------------------
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.)
----------------------------------------------------------------------
(0000146) msbrown (manager) - 2009-07-02 19:08
http://msnkbrown.net/agtest/view.php?id=101#c146
----------------------------------------------------------------------
I'm adding some test text here for my own clarification:
<pre>
01234567890123456789012345678901234567890123456789
Every word is separated by two spaces.
This line starts with two spaces.
Three spaces separate these words.
</pre>
----------------------------------------------------------------------
(0000149) msbrown (manager) - 2009-07-02 19:15
http://msnkbrown.net/agtest/view.php?id=101#c149
----------------------------------------------------------------------
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 <pre> this text is monospaced </pre> and this text is not.
|