# vBulletin v4 importer list conversion breaks markup

**URL:** https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979
**Category:** Bug
**Created:** [12 בפברואר,‏ 2019,‏ 8:05pm UTC](https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979 "2019-02-12T20:05:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![outofcontrol](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofcontrol/32/117122_2.png) [@outofcontrol](https://meta.discourse.org/u/outofcontrol)
#### Post date: [12 בפברואר,‏ 2019,‏ 8:05pm UTC](https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979/1 "2019-02-12T20:05:27Z")

</div>

When importing from vBulletin v4 to Discourse, the following markup gets converted incorrectly, resulting in a rather unsightly post in Discourse:

vBulletin post source code (which renders correctly for us in VB

```
[LIST]
[*][URL="https://link.one"]TITLE OF LINK ONE[/URL] (more info here)
[*][URL="https://link.two"]TITLE OF LINK TWO[/URL] (more info here)
[*][URL="https://link.three"]TITLE OF LINK THREE[/URL] (more info here)
[/LIST]

```

Becomes this in Discourse:

```
[ul]
[li][TITLE OF LINK ONE](https://link.one) (more info here) [/li][li][TITLE OF LINK TWO](https://link.two) (more info here)[/li][li][TITLE OF LINK THREE](https://link.three) (more info here) [/li][/ul]

```

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [13 בפברואר,‏ 2019,‏ 2:17am UTC](https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979/2 "2019-02-13T02:17:06Z")

</div>

That looks correct to me, the problem you mean is lack of linebreaks?

---

<div class="post-metadata">

### Author: ![outofcontrol](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofcontrol/32/117122_2.png) [@outofcontrol](https://meta.discourse.org/u/outofcontrol)
#### Post date: [13 בפברואר,‏ 2019,‏ 3:39pm UTC](https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979/3 "2019-02-13T15:39:55Z")

</div>

Sorry, I didn’t post the rendered portion of the code in Discourse. Once rendered to the end user it looks like this:

```
[ul]
[li]TITLE OF LINK ONE (more info here) [/li]
[li]TITLE OF LINK TWO (more info here)[/li]
[li]TITLE OF LINK THREE (more info here)[/li]
[/ul]

```

The links are rendered but the list is not rendered.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [14 בפברואר,‏ 2019,‏ 12:19am UTC](https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979/4 "2019-02-14T00:19:01Z")

</div>

Yeah `ul` bbcode is kind of supported in the bbcode plugin, but its a terrible syntax that should be nuked as soon as possible.

I recommend amending that importer to properly change this quirky bbcode to proper markdown

---

<div class="post-metadata">

### Author: ![outofcontrol](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofcontrol/32/117122_2.png) [@outofcontrol](https://meta.discourse.org/u/outofcontrol)
#### Post date: [14 בפברואר,‏ 2019,‏ 12:44am UTC](https://meta.discourse.org/t/vbulletin-v4-importer-list-conversion-breaks-markup/108979/5 "2019-02-14T00:44:24Z")

</div>

To make sure I understand correctly, this conversion is expected, but to see it rendered properly I need to add this [BB Code plugin](https://meta.discourse.org/t/discourse-bbcode/65425)?
