panel icon indicating copy to clipboard operation
panel copied to clipboard

HTML tags not rendered in admin area notifications

Open voidvalue-dev opened this issue 10 months ago • 2 comments

Current Behavior

In the Pterodactyl panel's admin area, certain notifications display raw HTML tags instead of rendering them correctly.

Image Image

Expected Behavior

Notifications in the admin area should properly render HTML tags

Steps to Reproduce

Navigate to any admin section (e.g., Nodes, Locations, Users).

Perform an action that triggers a notification (e.g., create, edit, or delete an item).

Panel Version

1.12

Wings Version

1.12

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs


Is there an existing issue for this?

  • [x] I have searched the existing issues before opening this issue. I understand that maintainers may close this issue without communication if I have not provided sufficient information.

voidvalue-dev avatar Jan 10 '26 17:01 voidvalue-dev

This was introduced by https://github.com/pterodactyl/panel/pull/5475 — I think the correct fix here is just removing the HTML tags from the messages. They're not particularly beneficial and I don't think adding a DOMPurify layer here is worth the squeeze.

DaneEveritt avatar Jan 10 '26 17:01 DaneEveritt

solved

voidvalue-dev avatar Jan 11 '26 01:01 voidvalue-dev