Hi there, I saw a problem today and saw here on your example the same problem. strip_bbcode adds a space when removing bbcode.JoshyPHP wrote: ↑Tue Jun 06, 2017 5:39 pm Here's what I ran:
Here's what I got:Code: Select all
$text = '<r><B><s>[b]</s>bold<e>[/b]</e></B> :lol: http://google.com</r>'; strip_bbcode($text); die($text);
Does it work differently for you?Code: Select all
bold :lol: http://google.com
So if we've: Some text with bold. Text
It will become: Some text with bold . Text
And we don't want that extra space :/