javikr / sofatime

Sofa Time
10 stars 0 forks source link

Implement spoiler rendering for comments #60

Open tzinm opened 2 days ago

tzinm commented 2 days ago

Is your feature request related to a problem? Please describe. Currently, comments marked as spoilers using the [spoiler] tags are not rendered correctly in the Sofa Time application. Users can see the opening [spoiler] tag, but the actual spoiler content is not displayed.

Describe the solution you'd like I would like the application to render comments with the [spoiler] tags properly.

Describe alternatives you've considered Click on the [spoiler] tag to reveal the hidden content.

Additional context For reference, here is how a comment with a spoiler (Season 2 Episode 6 from Modern Love) is displayed on the Trakt.tv website:

traktv-spoiler-example

Currently, this is how the same comment appears in the Sofa Time application:

sofatime-spoiler-example

Additionally, here’s an example of how another application that uses Trakt.tv (Watcht) handles spoilers:

https://github.com/user-attachments/assets/39157322-d2e6-43a8-a009-40796da53a3d