Forgive me if this is old news, but I've never encountered this problem before.
The problem is that the BBcode is acting like HTML should.
The spoiler tag is acting as an inline element, whereas the list is a block-level element. Inline elements only apply to elements that are on the same line block, as the name suggests. Block level elements like paragraphs, lists and divs are meant to inherit down until the element is closed..
Just like it's not valid html to do this:
<span>
<ul>
[*]text
[/list]
</span>
In this case you'd have to put the span tag in the middle of each list item. So, in the case of the BBcode here you'd have to put it inside the list declaration..
Man I'm not very good at describing things..
andrew on
The one about the fucking space hairdresser and the cowboy. He's got a tinfoil pal and a pedal bin
Forgive me if this is old news, but I've never encountered this problem before.
The problem is that the BBcode is acting like HTML should.
The spoiler tag is acting as an inline element, whereas the list is a block-level element. Inline elements only apply to elements that are on the same line block, as the name suggests. Block level elements like paragraphs, lists and divs are meant to inherit down until the element is closed..
Just like it's not valid html to do this:
<span>
<ul>
[*]text
[/list]
</span>
In this case you'd have to put the span tag in the middle of each list item. So, in the case of the BBcode here you'd have to put it inside the list declaration..
Man I'm not very good at describing things..
Then I submit that spoiler really ought to act as a block element, since it breaks paragraphs.
Posts
[spoiler:1a3c97e8ac]1.If you do it the other way around 2. every thing's OK[/spoiler:1a3c97e8ac]
[list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac] [list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac] [list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac] [list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][list:1a3c97e8ac][spoiler:1a3c97e8ac]sort of[/spoiler:1a3c97e8ac]
[/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac][/list:u:1a3c97e8ac]The problem is that the BBcode is acting like HTML should.
The spoiler tag is acting as an inline element, whereas the list is a block-level element. Inline elements only apply to elements that are on the same line block, as the name suggests. Block level elements like paragraphs, lists and divs are meant to inherit down until the element is closed..
Just like it's not valid html to do this:
In this case you'd have to put the span tag in the middle of each list item. So, in the case of the BBcode here you'd have to put it inside the list declaration..
Man I'm not very good at describing things..
Then I submit that spoiler really ought to act as a block element, since it breaks paragraphs.