Welcome to our community

Be a part of something great, join today!

Posts using spoiler tags as viewed in Activity stream

  • Thread starter
  • Moderator
  • #1

Greg

Perseverance
Staff member
Feb 5, 2013
1,382
It appears that a user may see the contents of posts within spoiler tags while viewing the Activity stream.
 

MarkFL

Administrator
Staff member
Feb 24, 2012
13,735
It appears that a user may see the contents of posts within spoiler tags while viewing the Activity stream.
Yes, BBCodes in the activity stream content (truncated posts and messages) are not parsed in the activity stream (you simply see raw text, with the exception of $\LaTeX$ which gets parsed by an external javascript file rather than by a vBulletin .PHP file), and so text within spoiler tags is visible. And because the content is truncated, there would likely be orphaned spoiler (and other BBCode) tags too. The only practical solution I would see is to have the entire content be returned, and then parse the BBCodes, in the same way we did for our "Find latest posts" search from user profiles. Of course this would take away from the brevity of the activity stream. :)