-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RichText swallowing whitespace after Markdown links #4613
Comments
Can you test on develop? There was a bug (#3528) that is fixed on develop for the next release, at least for |
Turns out those are two issues after all, my bad. The one about the link is indeed fixed in develop. |
Looks like you're on to something here thanks. |
@andydotxyz FYI: I've started looking into fixing this (including the "split link"). Just a heads up, so that we don't do the same work in parallel by accident. |
The new version simplifies the code by using recursion instead of walking the ast while keeping track of state. It also improves the code by using a type switch. Fixes fyne-io#4613
The new version simplifies the code by using recursion instead of walking the ast while keeping track of state. It also improves the code by using a type switch. Fixes fyne-io#4613
The new version simplifies the code by using recursion instead of walking the ast while keeping track of state. It also improves the code by using a type switch. Fixes fyne-io#4613
Rework markdown parser to fix #4613
Fixed on develop ready for v2.5.0 thanks to @codesoap |
Checklist
Describe the bug
Spaces and linebreaks following a markdown link in a RichText widget get swallowed.
How to reproduce
Screenshots
Missing space after link:
Example code
Fyne version
2.4.3
Go compiler version
1.21.1
Operating system and version
OpenBSD 7.4
Additional Information
No response
The text was updated successfully, but these errors were encountered: