3
Thanks for that, it goes some way towards a solution, but doesn't seem to provide a complete solution. For one thing, the ordered lists don't seem to display as such, they show as normal bulletted lists. I couldn't understand why, so tried cutting the list out of the generated HTML and pasting it into a simple, otherwise empty HTML page and it worked, however, embedded within the page, it doesn't? I don't know much about HTML, could it be that something in the CSS, or preceding HTML is preventing it from workin?
Here is bbcode markup and the HTML that is produced from a simple list...
[list=1]
[*] Item 1
[*] Item 2
[/list]
[list=a]
[*] Item A
[*] Item B
[/list]
<ol type="1"><li> Item 1li><li> Item 2li>
ol><ol type="a"><li> Item Ali><li> Item Bli>ol>
Also I couldn't get the code you provide to properly support nested lists, i.e.
[list=1]
[*] Item 1
[list=a]
[*] Item A
[*] Item B
[/list]
[*] Item 2
[/list]
which produces...
<ol type="1"><li> Item 1li>
[list=a]<br /><li> Item Ali><li> Item Bli>
ol><br /><li> Item 2li>[/list]
Thanks for any help you can provide, of course, if I manage to get it working sufficiently, I would be happy to provide my scripts. Although I should warn you, they are written in very messy Python
Cheers
PaulG