Closing and opening multiple spoiler tags works incorrectly
Closed this issue · 1 comments
Tyoda commented
Jerboa Version
0.0.69
Android Version + Phone
Android 11 / Redmi Note 8T
Describe The Bug
When a post has multiple spoiler tags, opening them in order will not render correctly. It renders correctly if opened bottom to top.
This is flipped for closing, where closing them in order works, and bottom to top does not.
When I open the first one and then the second one:
When I open the second one and then the first one:
Same happens in the post preview while posting.
As seen in this post: https://lemmy.ml/post/17579992
To Reproduce
- Open post or comment that has multiple spoiler tags (https://lemmy.ml/post/17579992)
- Open first spoiler tag
- Open second spoiler tag
- Spoiler tags are rendered incorrectly until post is refreshed
In the case of a crash or when relevant include the logs
No response
Tyoda commented
What a mess! Was just figuring out git & GitHub signing and other stuff.
The pull request fixes this issue.