News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

BUG with [list] tag

Started by jkay, October 23, 2006, 01:02:15 AM

Previous topic - Next topic

jkay


Notice the bug?

The alphabets


  • aaaaaaaaaaaaaaaaaa
  • bbbbbbbbbbbbbbbbbb
  • cccccccccccccccccc
  • dddddddddddddddddd

eeeeeeeeeeeeeee
fffffffffffffffffffffff[/font][/size]

jkay

The above message was made using the following post:

[size=14pt][font=Verdana]
Notice the bug?

The alphabets

[list]
[li]aaaaaaaaaaaaaaaaaa[/li]
[li]bbbbbbbbbbbbbbbbbb[/li]
[li]cccccccccccccccccc[/li]
[li]dddddddddddddddddd[/li]
[/list]

eeeeeeeeeeeeeee
fffffffffffffffffffffff[/font][/size]


After the list tag, the font seems to have reseted. Resulting in an edditional closing font and size tag behind.

Pls assist. Thanks!

Dannii

Size and font tags are inline tags. Lists are block tags. Block tags cannot go inside inline tags, only inline tags can go inside block tags. This means that when it gets to the opening list tag, it closes the font and size tags automatically. The final [/font][/size] tags are meaningless and are just displayed normally.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

jkay

Oh okie thanks.

I just upgraded to RC3. Previously in 1.08, its possible though. Any idea why?

Thanks again eldʌka!

Dannii

Because the BBCodes engine was updated to be more logical and meaningful in 1.1.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: