A user posted the attached C source code in a post, with the result that the message will not be shown.
While testing, see the initial post that showed this issue and my test topic, my browser would sometimes even freeze. You can see I've edited this post numerous times in hopes to find where it goes wrong.
I've been cutting and pasting code to see if I could pinpoint it to a specific character combination, but haven't been able to find anything 😞
I've pasted the code in the attached file (the issue does not seem to happen in this forum).
wpForo Version 2.2.3
wpForo Ads Manager Version 3.0.3
wpForo Advanced Attachments Version 3.1.2
wpForo Embeds Version 3.0.9
Wordpress 6.4.1
PHP Version: 8.0.30
Note that the user placed the code in the message - not as an attachment. Removing the last few lines of the code (roughly as of "} else {" at the end) makes it visible again.
Posting a code directly in the editor can always affect the topic layout. It'll not case security issue but it may crash the HTML of your forum page. That's way we have added <> code button. In many cases the crashes happen even wuth <> code button. So you can check out the wpForo Syntax Highliter addon: https://gvectors.com/product/wpforo-syntax-highlighter/
It's actually happening with non-code as well.
From what I can see the DIV is simply empty and not produced by the forum.
However when I edit a post, everything is there and shows correctly.
Here another instance where this happens: link.
This is what the post looks like to viewers: