Solved &nbsp in forum?

Is there any way to write a non-breaking space in the forums?
This would be nice for tables, so that entries containing spaces are not broken badly, resulting in an ugly, hard-to-read table.

Any idea whether this can be done?
 
It seems the forums strip non-breaking space characters, like many other sites.

I use [code] ... [/code] blocks for tables:
Code:
        Sample output from `w3m -dump -O us-ascii -cols 80 ./.foo.html`
+-----------------------------------------------------------------------------+
|multi-word table |hello|oh                                                   |
|cell             |     |                                                     |
|-----------------+-----+-----------------------------------------------------|
|                 |     |the two cells to the left are empty and this cell is |
|                 |     |really long                                          |
+-----------------------------------------------------------------------------+
 
There are bbcodes for creating traditional HTML tables too. They work exactly the same:
Code:
[table]
[tr][th]column1[/th][th]column2[/th][/tr]
[tr][td]a[/td][td]b[/td][/tr]
[/table]
produces:
column1column2
ab

But using [code] might be fine too, it depends on what you want to present. [code] uses a mono-spaced font, so things line up better. And it's easier to copy/paste from.
 
It seems the forums strip non-breaking space characters, like many other sites.
Yes, it strips/converts these Unicode non-breaking-space chars :(
You are right!

But luckily it respects the middle dot.
The purpose why I asked was to avoid breaking the market names in the table here.
With the middle dot it looks a bit unusual, but way better if broken :)
 
Success (alter the width of this window to observe non-breaking sentences):

The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.

Snurg has received the secret :cool:



To users of Lynx: sorry.

1645351873287.png
 
Back
Top