Bug in BB Code with nested [list]'s during Preview

Started by spintz, January 13, 2008, 04:35:17 PM

Previous topic - Next topic

spintz


  • I
     

         
    • A
         

             
      • 1
      • 2
      • 3
         
  • II
     

         
    • A
    • B
    • C
  • III
     

         
    • A
    • B
    • C
    • D

The above code is -

[list]
[li]I
  [list]
   [li]A
    [list]
     [li]1[/li]
     [li]2[/li]
     [li]3[/li]
    [/list]
   [/li]
  [/list]
[/li]
[li]II
  [list]
   [li]A[/li]
   [li]B[/li]
   [li]C[/li]
  [/list]
[/li]
[li]III
  [list]
   [li]A[/li]
   [li]B[/li]
   [li]C[/li]
   [li]D[/li]
  [/list]
[/li]
[/list]


When doing the initial post, the preview shows everything correctly.  Once posted, then you go back and try to modify the post, and preview it, there are erroneous, extra list and li terminators inserted.  These only show up in the preview, once posted, the extra list and li terminators do not show up.

{EDIT 1} Hmmmm, just noticed, here on these boards( I guess they are the new 2.0 BETA ) the lists don't show up at all when previewing lists.  They do obviously work once the post has been made.

spintz


metallica48423

Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

SleePy

What browser are you using?
Using that code, it doesn't format correctly for me, but i can see from the bullet types, that it doesn't add anything extra. Can you provide a screenshot.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: