It is currently Wed Dec 13, 2017 8:04 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: testing list
PostPosted: Mon Jan 28, 2013 6:31 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5893
Location: Canada
[list=This]does not work[/list]
    [li]in[/li]
    [li]preview[/li]

Does it work in post?


Top
 Profile  
 
 Post subject: Re: testing list
PostPosted: Mon Jan 28, 2013 7:31 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10164
Location: Rio de Janeiro - Brazil
BBCode lists are kinda crappy... This works fine:

    Random list:
  • First item;
  • Second item;

But when you're replying and quoting individual items in the list you get this:

Quote:
[*] First item;

...unless you add a new list tag for each quote. Even though that is in fact the expected behavior, it's still annoying, so I just tend to avoid lists.


Top
 Profile  
 
 Post subject: Re: testing list
PostPosted: Mon Jan 28, 2013 7:37 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5893
Location: Canada
It wasn't a question. I figured it out. ;)

Really I was trying to figure out if it worked in a post differently than in preview, and it turned out it didn't. The = after List for ordered list really threw me, because it's not a place to put a parameter!


Top
 Profile  
 
 Post subject: Re: testing list
PostPosted: Mon Jan 28, 2013 8:01 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10164
Location: Rio de Janeiro - Brazil
rainwarrior wrote:
It wasn't a question.

...and my post wasn't an answer, I was just sharing my opinion on BBCode lists, and why I don't use them. :wink:

Quote:
The = after List for ordered list really threw me, because it's not a place to put a parameter!

Yeah, that confused me a bit too.


Top
 Profile  
 
 Post subject: Re: testing list
PostPosted: Tue Jan 29, 2013 5:50 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19338
Location: NE Indiana, USA (NTSC)
  • The BBCode element for ordered and unordered lists is called "list"
  • The list element is transformed into an HTML ol or ul element based on its attribute being present or absent
  • Each item in the list is inside a "*" element
  • Like HTML (and unlike XHTML), BBCode has elements whose closing tag is optional in certain circumstances because the element can't directly contain itself
  • For example, the closing tag for the * element is optional
  • To see the BBCode source for this post, click the quote button


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group