researchhub-web icon indicating copy to clipboard operation
researchhub-web copied to clipboard

Sanitize titles in live feed

Open kerkelae opened this issue 5 months ago • 1 comments

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.

image

kerkelae avatar Sep 25 '24 15:09 kerkelae