This PR fixes an issue where the contents of deleted comments can appear in some places (i.e., user profile). The cleaning code has been applied directly to the CommentContent widget so it automatically gets applied everywhere (rather than having to remember to do it in every different type of bloc).
While doing some refactoring, I came across this widget which does not appear to be used anywhere. Is it safe to deleted?
Pull Request Description
This PR fixes an issue where the contents of deleted comments can appear in some places (i.e., user profile). The cleaning code has been applied directly to the
CommentContent
widget so it automatically gets applied everywhere (rather than having to remember to do it in every different type of bloc).Issue Being Fixed
Issue Number: N/A
Screenshots / Recordings
Before
https://github.com/thunder-app/thunder/assets/7417301/cb062bd8-924e-498e-9584-67243a37972f
After
https://github.com/thunder-app/thunder/assets/7417301/c0aadb9d-34b1-4d59-b442-b18b8113a24f
Checklist
semanticLabel
s where applicable for accessibility?