{LIST} bug

Discussion in 'Site Problems & Feedback' started by chaos945, Jan 20, 2004.

  1. chaos945

    chaos945 Moderator

    Messages:
    934
    Below is an example of the bug, generating the table via the "wizard" does not create the bug it must be "hard coded". Note the extra bullet.


    • This line has a bug:
    • Test a
    • Test b
      Normal
    • Test a
    • Test b

    Code:
    {list}
    {b}This line has a bug:{/b}
    {*}Test a
    {*}Test b
    {b]Normal[/b]
    {*}Test a
    {*}Test b
    {/list}
    
     
  2. chaos945

    chaos945 Moderator

    Messages:
    934
    After playing with it for a bit, I realized it is part of the way the {list} function is used; the first line must use a bullet. Did this change; or am I crazy, I swear I used to start a list with a title w/o a bullet.


    • Test
    • test
      Test
    • test
      Test

    Code:
    {list}
    Test
    {*}test
    Test
    {*}test
    Test
    {/list}
    
     
  3. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    (could you please recheck this error and see if it is still present)
     
  4. chaos945

    chaos945 Moderator

    Messages:
    934


    • Test
    • Test
    • Test

    Code:
    {list}
    Test
    {*}Test
    {*}Test
    {/list}
    
    Yes the "bug" is still there.
     
  5. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark

    • This line has a bug:
    • Test a
    • Test b
      Normal
    • Test a
    • Test b
     
  6. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    I'll add this to the vb bug tracker.
     
  7. chaos945

    chaos945 Moderator

    Messages:
    934
    I've found that if I put the first line of info on the line beginning the /list I can avoid an empty bullet. But still no title.
    • Test
    • Test
    • Test
    Code:
    {list}Test
    {*}Test
    {*}Test
    {/list}
    
     
  8. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Don't think there's much Jelsoft can do on this one. If you use the command right, there is no problem, it's just creating HTML from your input.
     
  9. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    Depends on the HTML they use to parse it.
     
  10. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    [list] should create a <ul>
    [*] should create <li> (and hopfully end the line with </li> for compliancy)
    [/list] should create a </ul>

    In theory anyway, there's probably more to it than a simple replace function. :)
     
  11. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    Checking the source of this page out:

    <ul><li><br />
    Test</li><li>test<br />
    Test</li><li>test<br />
    Test</li></ul>

    seems the line break breaks it up, is a line break even needed?
    I would guess thats jelsofts doing

    *shakes fist*
     
  12. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    No it's not. I swear they have a line break fetish over a Jelsoft. I think it was PHP before that we found double spacing on. Grrr. :D

    <ul>
    <li>item</li>
    <li>item</li>
    <li>item</li>
    </ul>

    That's how it should be. Doesn't have to be on a new line for each, that can all be on one line, just looks neater and is easier to follow.
     
  13. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    I am starting to think this is the way we will have to do things... just make sure you put

    any text above the first bullet point...