Consecutive spaces not displayed in some cases

John Van Essen <[email protected]>
Newsgroups gmane.mail.archives.mail-archive
Message-ID <20053851951.618990@jve-home>
In some cases, consecutive spaces that are present in a plain text email
(as shown in the mail-archive html source) are not displayed because they
are within a tt container (instead of a pre container) and therefore get
condensed to a single space when rendered.

For an example, see:

  http://www.mail-archive.com/rsync-w/[email protected]/msg12548.html

Toward the end of the script source in that email, you'll see this:


echo "EEEEEEE RRRRRR RRRRRR OOOOOO RRRRRR"
echo "E R R R R O O R R"
echo "E R R R R O O R R"
echo "E R R R R O O R R"
echo "EEEEEE RRRRR RRRRR O O RRRRRR"
echo "E R R R R O O R R"
echo "E R R R R O O R R"
echo "E R R R R O O R R"
echo "EEEEEE R R R R OOOOOO R R"


Whereas in the source html, you'll see this:


       echo &quot;EEEEEEE RRRRRR  RRRRRR   OOOOOO  RRRRRR&quot;<br>
       echo &quot;E       R     R R    R  O      O R     R&quot;<br>
       echo &quot;E       R     R R    R  O      O R     R&quot;<br>
       echo &quot;E       R     R R    R  O      O R     R&quot;<br>
       echo &quot;EEEEEE  RRRRR   RRRRR   O      O RRRRRR&quot;<br>
       echo &quot;E       R R     R R     O      O R R&quot;<br>
       echo &quot;E       R  R    R  R    O      O R  R&quot;<br>
       echo &quot;E       R   R   R   R   O      O R   R&quot;<br>
       echo &quot;EEEEEE  R    R  R    R   OOOOOO  R    R&quot;<br>


Note that the leading spaces and some internal spaces are not rendered.
What you should be seeing in the web page is this:


       echo "EEEEEEE RRRRRR  RRRRRR   OOOOOO  RRRRRR"
       echo "E       R     R R    R  O      O R     R"
       echo "E       R     R R    R  O      O R     R"
       echo "E       R     R R    R  O      O R     R"
       echo "EEEEEE  RRRRR   RRRRR   O      O RRRRRR"
       echo "E       R R     R R     O      O R R"
       echo "E       R  R    R  R    O      O R  R"
       echo "E       R   R   R   R   O      O R   R"
       echo "EEEEEE  R    R  R    R   OOOOOO  R    R"


There are several other places in that email where copy'n'paste of
Unix output containing leading or embedded strings of spaces are
missing the extra spaces, yet in other places, a pre container is
used that *does* preserve the spaces.

Can this missing leading/consecutive spaces problem be fixed?

Thanks.
-- 
        John Van Essen  Univ of Minn. Alumnus  <[email protected]>


_______________________________________________
Discussion list for The Mail Archive
[email protected]
http://jab.org/cgi-bin/mailman/listinfo/gossip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.