Infinity-For-Reddit
Infinity-For-Reddit copied to clipboard
Leading and trailing spaces are not removed inside spoilers
Checklist
- [X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
- [X] I will describe the problem with as much detail as possible.
- [X] If the bug only occurs with a certain link, post, image..., I will include the URL.
App version
5.3.2
Where did you get the app from
Google Play
Android version
12
Device model
No response
First occurred
No response
Steps to reproduce
Create post/comment with contents:
>! text !<
Expected behaviour
Spoiler matches text width exactly
Current behaviour
There is extra space inside the spoiler around text
Logs
Notes
Reddit has some weird whitespace processing because >! text !< other has trailing space inside spoiler, while other >! text !< doesn't have leading space
It seems that you are really obsessed with the markdown bugs 🙂, but thanks go on. Soon we will have the best markdown parser in the world 👌😅
Honestly, I just have too much free time right now 😆. But I do enjoy figuring out these bugs and every time I fix one I spot something else, so it's difficult to stop.
Btw this issue won't be fixed by the pr that is open now, I opened it for the future
Oh all right haven't read it carefully enough