https://www.icyphoenix.com/viewtopic.php?f=35&t=3825&p=26243#p26243
-----------------------------------
KasLimon
Sun 16 Mar, 2008 10:45

Re: Spacer Bbcode
-----------------------------------
[quote user="DWho" post="26183"][codeblock]				if($tag == 'spacer')
		{
			$html = '&nbsp;';
					return array(
				'valid' => true,
				'html' => $html
			);
		}[/codeblock][/quote]
Replace this code with:[codeblock]		// SPACER
		if($tag === 'spacer')
		{
			$html = '';
			if(isset($item['params']['param']))
			{
				for ($i=0; ($i < intval($item['params']['param'])); $i++)
				{
					$html .= '&nbsp;';
				}
			}
			else
			{
				$html = '&nbsp;';
			}
			return array(
				'valid' => true,
				'html' => $html
			);
		}[/codeblock]

It seems it is a bug and you can't set [spacer=5] or [hr=#FF0000] (the second one should be working)...

This code I've posted will not work until the bug is fixed.

Greets!


