The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Spaces in posts - post formatting
I have found a problem with Spaces when posting..
How can we make all text preserve multiple spaces (code and highlight tags currently do this)? ex.: 1 21 321 4321 54321 Code:
1 21 321 4321 54321 Any ideas on how to fix this? Thanks. |
#2
|
|||
|
|||
I think you need the text to be inside <pre> ... </pre> tags to preserve spaces. There may also be a CSS way to do this, I'm not sure.
|
#3
|
|||
|
|||
1 21 321 4321 54321 [pre] 1 21 321 4321 54321 [/pre] I have tried noparse and pre tags. No luck. It's a shame this can't be default. |
#4
|
|||
|
|||
It's the way html works, not a problem with vb. All white space is combined into one space unless it's in a <pre> tag (and I mean the html tag, not a bbcode like [pre]). You could probably make it the default by editing the postbit template and putting the post message inside <pre> ... </pre> tags, but I'm not sure what the result would look like.
If you just want the ability to use bbcode to preserve spaces for certain text, you could define your own [pre] tag using <pre>{param}</pre> as the replacment. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|