[Frontend] Changelog notifications display raw HTML tags instead of formatted text
What happened
The changelog notifications in the UI are displaying raw HTML tags (e.g., <h1>, <ul>, <li>) instead of rendering the text as formatted headers and lists. This makes the release notes difficult to read.
Environment
- OS: any
- IntelOwl version: Current (v6.5.0+)
What did you expect to happen The notifications should parse the HTML content and display properly formatted text (e.g., bold headers, bullet points) within the notification card without showing any raw tags.
How to reproduce your issue
- Login to the IntelOwl dashboard.
- Click on the notification bell icon.
- See that the body contains raw HTML markup.
Error messages and logs No error messages in the console.
I looked into this and already have a fix ready locally. Basically, I can fix it by adding rehype-raw to the ReactMarkdown component in NotificationsList.jsx so it parses the HTML tags properly, plus rehype-sanitize to prevent any xss issues. I also updated the styling to fix the headers and lists since they were rendering inline and looked broken.
Could you assign this to me?