• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Efficient bbcode usage

thedude

Well-known member
#1
We converted from VB to XF a while ago. I was editing a post that had this sort of redundant bbcode mess (you've all seen this before):
Code:
[I]word[/I] 
[I]word[/I] 
[I]word[/I] 
[I]word[/I] 
[I]word[/I]
After saving it, I had to re-edit it and realized XF automatically changed it to:
Code:
[I]word
word
word
word
word
[/I]
It's the little things that show the quality of a product.

I may write up some code to run all pre-XF posts through that function to clean them up as well.