A bit of a generic ask, but does XenForo have a native way to parse BB code upon rendering?
I'm working on a custom BBCode add-on and have a similar structure to the BBCode used in a table. For example, here is the structure of a table:
Specifically, I see the following gets added into $tag['children']
I can parse this manually, but does XenForo have something native to help eliminate the need of reinventing the wheel?
Thank you!
I'm working on a custom BBCode add-on and have a similar structure to the BBCode used in a table. For example, here is the structure of a table:
Code:
[TABLE]
[TR]
[TH]Header 1[/TH]
[TH]Header 2[/TH]
[/TR]
[TR]
[TD]Content 1[/TD]
[TD]Content 2[/TD]
[/TR]
[/TABLE]
Specifically, I see the following gets added into $tag['children']
Code:
[TR]
[TH]Header 1[/TH]
[TH]Header 2[/TH]
[/TR]
[TR]
[TD]Content 1[/TD
[TD]Content 2[/TD]
[/TR]
I can parse this manually, but does XenForo have something native to help eliminate the need of reinventing the wheel?
Thank you!
Last edited: