BBCode formatting issue when migrating from Vanilla to Discourse

AI-generated summary

A discussion on resolving a BBCode formatting issue when migrating from Vanilla to Discourse. The original poster, Christian_Suntay, experiences issues despite having the BBCode plugin installed. chrispanag suggests the problem lies in the plugin’s inability to support nested BBCode tags. Falco recommends remapping BBCode to proper markdown, but Christian_Suntay is unsure about the process. pfaffman explains that the importer can replace BBCode with HTML equivalents, such as [b] → <b>. However, Christian_Suntay notes that simple BBCode tags work fine, but nested tags do not. pfaffman requests the raw text of a problematic post to investigate further. Christian_Suntay confirms the issue is with nested BBCode and wonders if remapping is necessary. justin reiterates that the BBCode plugin doesn’t handle nested tags, and Discourse doesn’t support BBCode out of the box.

There is some formatting issue. Data data is from Vanilla. I have bbcode installed. What am I missing?

We have the same problem, I think the bbcode plugin doesn’t support nested bbcode tags.

hope they can give us answers :frowning:

I suggest remapping BB Code use into proper markdown.

sir what do you mean by remapping?

how can we remap gem bbcode?

There is a section of the importer that replaces stuff in the original posts with . . . different stuff. You want to make it convert [b] → <b> and [/b] → </b>. Like that.

but works fine

You’d need to show the text that DOES NOT work fine from the original post you showed. When you do, put ``` on a line before and after the raw text of the post that is not displaying as you wish.

The problem is with nested bbcode. Do i still need to remap? or discourse just cant handle nested bbcode ?

As mentioned above the bbcode plugin doesn’t handle nested tags. Discourse doesn’t handle much of any bbcode out of the box.