{LIST} bug

chaos945

OSNN Senior Addict
Joined
10 Feb 2003
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}
 
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}
 
(could you please recheck this error and see if it is still present)
 
Electronic Punk said:
(could you please recheck this error and see if it is still present)



  • Test
  • Test
  • Test

Code:
{list}
Test
{*}Test
{*}Test
{/list}

Yes the "bug" is still there.
 

  • This line has a bug:
  • Test a
  • Test b
    Normal
  • Test a
  • Test b
 
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}
 
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.
 
[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. :)
 
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*
 
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.
 
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...
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back