Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post comments escaping their container div if the order of closing BBCode tags is incorrect #179

Open
anonwaha opened this issue Feb 28, 2025 · 0 comments
Labels
b0rked FIX PLZ

Comments

@anonwaha
Copy link
Collaborator

Steps to reproduce

  1. Write [code][scroll]Message A[/code][/scroll]Message B into the post form
  2. Notice that [/code] and [/scroll] are the wrong way around compared to the opening tags
  3. Post it
  4. "Message B" appears outside of the comment div instead of inside it

Probably cause

  • Something in module/mod_bbcode.php causing malformed HTML when closing tags are placed the wrong way around
@anonwaha anonwaha added the b0rked FIX PLZ label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b0rked FIX PLZ
Projects
None yet
Development

No branches or pull requests

1 participant