PDA

View Full Version : I don't want to complain, but....


SwedaGuy
January 22nd, 2008, 09:48 AM
...why can't I put more than one space in a row when posting?

For example, I chose a fixed font and typed up a section of source code, using spaces for the appropriate indents (Tab leaves the edit box), but when the post is saved the spaces disappear and everything starts from the left margin...

Anything I can do about it?

kb2syd
January 22nd, 2008, 11:15 AM
Use the formatting features. Enclose fixed space stuff in code blocks.
{code}
hello
hello
hello
{/code}

comes out like:


hello
hello
hello


But use [ not { and ] not }

SwedaGuy
January 22nd, 2008, 11:27 AM
Oh, that's slick! Thanks for the 411!

Vlad
January 22nd, 2008, 12:48 PM
There's also a WYSIWYG interface for the comment box that has a nice text formatting bar with word processor style buttons for code and quoting. Look for it in your User Control Panel, its a nice feature.

EDIT:

At the top: Quick Links > Edit Options > and scroll to the very bottom. The last box lets you select from quick, standard and enhanced WYSIWYG for the comment interface.

SwedaGuy
January 22nd, 2008, 02:07 PM
That's good information, thank you!

carlsson
January 22nd, 2008, 02:40 PM
For what it is worth, the concatenation of multiple spaces is not due to the forum software, but how all (?) browsers implement HTML - it may even be in a spec somewhere that several space characters in a row should be treated as one unless special conditions like typewriter/preformatted text occurs.

Vlad
January 22nd, 2008, 02:47 PM
I always kinda assumed it was a lameness filter of some kind that prevented someone from making a mile long post or something to that effect.