Could be done with some simple JavaScript, spaces should be replaced by the character ⎵ (bottom square bracket, HTML Entity ⎵) or something like that.
We must not copy it when clicking the "Copy from source" icon.

CommentFileSizeAuthor
#4 hspace.png10.22 KBdroplet
#2 l10n_space.patch1017 bytesdroplet
#1 l10n_space.patch833 bytesdroplet
#1 ff.png99.24 KBdroplet

Comments

droplet’s picture

StatusFileSize
new99.24 KB
new833 bytes

something like this:
firefox screenshot
(unknown reason, it's almost freeze in firefox 9 and in my chrome ⎵ is a SQUARE, maybe font issue I bet)

droplet’s picture

StatusFileSize
new1017 bytes

bottom square bracket only shows correctly in firefox
http://code.google.com/p/chromium/issues/detail?id=3176#makechanges

SebCorbin’s picture

Actually I was just thinking of highlighting only at beginning or end of the string, not in the middle.

The HTML entity codes for the character ⎵ (⎵ as decimal or ⎵ as hexadecimal) work for me in Chrome Mac OSX.

droplet’s picture

StatusFileSize
new10.22 KB

use background image or highlighted it would be better.

highlighting ending & spaces(2 or more spaces) between words. I think highlighting beginning spaces is meaningless.

SebCorbin’s picture

Version: 6.x-3.x-dev » 7.x-1.x-dev