Unlimited nested quotes make post (almost) unreadable

Kirby

Well-known member
Affected version
2,2.6
When users post a mesage with a high number of nested quotes like


it does become (almost) impossible to properly read the message, especially on devices with narrow screens.
 
It's an extreme and unrealistic example so it's really just one of those things that if someone tries to do this, then quite simply they shouldn't and you should enforce that with moderation.

That said, we're leaving the bug open. There is supposed to be a depth limit on tag rendering. We used to have it in XF1 and we apparently don't enforce it in XF2.

If this was an oversight rather than deliberate, then the max depth would be 20. It wouldn't really do much to solve this issue but I feel a depth limit is probably important as theoretically it may be possible to cause issues. That said, to be significantly complex enough you'd probably need more than the default 10,000 characters max message length to do it.

Either way, a rendering depth of 20 seems reasonable.
 
Yeah, of course users shouldn't do that - but IMHO it would be ideal if they even can't :)

So having a (configurable) limit would be nice.
 
Top Bottom