researchhub-web
researchhub-web copied to clipboard
Sanitize titles in live feed
This PR addresses the issue in https://github.com/ResearchHub/issues/issues/78. The issue was that live feed titles weren't sanitized like they were on the post page, leading to HTML tags being displayed. This PR addresses the problem by strictly disallowing all tags and attributes. While this solution works locally (see image below), the final implementation may need adjustments.