[1.1 Beta 3 Public]Parsing BBC issue

Started by –Michael, July 03, 2005, 03:29:04 PM

Previous topic - Next topic

–Michael

After upgrading to SMF 1.1 Beta 3 Public, I've noticed the following:

For example, I have a list, which needs to be in italic:


[i]
Some text:
[list]
[li]One[/li]
[li]Two[/li]
[/list]
[/i]


With 1.0.5, the whole text - between the "[ i ]" - was displayed in italics, but with SMF 1.1 Beta 3 Public, this does not work.
It's the same in this forum, as you can see below:

=============================

Some text:

  • One
  • Two
[/i]
=============================

Bug or feature?

Regards,
Michael
My SMF Mod: Static Page Mod

Grudge

I *believe* it's a feature of the new parsar. The old parsar allowed you to create illegal HTML (Like above). The new parsar has been designed to make sure all posts are valid XHTML which in turn means things like that likely won't work I'm afraid (You need to put italic in each list item instead)
I'm only a half geek really...

–Michael

#2
Thanks for your quick response, Grudge.

I understand, that this is a feature (and not a bug) due to valid XHTML code. I really appreciate it that valid XHTML is the goal of that. Hopefully, the default theme will also be cleaned one time since "style" is used very often in HTML tags there, which should be defined in the SMF's style.css.

Regards,
Michael
My SMF Mod: Static Page Mod

Advertisement: