News:

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

Main Menu

[BUG] 1.1 RC2 SSI parsing

Started by H, February 11, 2006, 02:34:59 PM

Previous topic - Next topic

H

If you have SSI boardnews with a limit:

ssi_boardNews(3, 10, 0, 400)

and the quote tag is right on the limit the quote is not parsed or hidden. Instead it display the quote bbcode. e.g. it would display:


blahblah [quote="my....


Surely it should just not display the quote at all

/edit: It actually does not appear to be the quote tag causing this.

The full post:

A test post so that the CSS is done right  ;D

[php]phpinfo();[/php]

[b]Bold[/b] [i]Italic[/i] [u]Underline[/u] [s]Strikeout[/s][hr]
[img]http://huw.org.uk/f/avatar.png[/img][url=http://huwnet.net]test[/url]
[table][tr][td]1[table][tr][td]1[/td][/tr][/table][sup]sup[/sup][sub]sub[/sub]
[list][li]test1[/list]
[quote="MFUF"]A fake quotake quotake quotake quotake quotake quotake quotake quotake quotake quote[/quote]
FINI
[code]include("FAKECODE.h");

[/code]
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Thantos

This is intentional to keep partial tags from breaking the HTML.

Daniel15

Quote from: Thantos on February 11, 2006, 03:21:28 PM
This is intentional to keep partial tags from breaking the HTML.
That sounds like a good idea

@huwnet: Like Thantos said, what if there is a [ quote ] tag before the limit, but the ending tag is after the limit? Then, there'd only be an opening tag (with no closing tag), and potentially,  the whole page will be inside that tag... :|)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Advertisement: