MyBB Hacks

Full Version: Spaces in Parser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I find the fact that MyBB doesn't allow multiple consecutive spaces in posts a little annoying.
Typical English says that sentences should be separated by double spaces - I typically like typing like that, however, MyBB's parser doesn't allow it.

For example, typing:

Code:
This is a sentence.  This is another sentence.

will actually produce (by default):

Code:
This is a sentence. This is another sentence.


Also, double spacing also allows other useful things, such as gaps between images etc.

This is a very simple plugin which will fix up double spaces.  Be aware that if you have any custom MyCodes, that you don't put double spaces in them! (  won't be parsed).

Reference URL's