fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
25.04k stars 1.39k forks source link

RichText rendered from markdown renders an extra space after underscore (MacOS) #5110

Open Gys opened 1 month ago

Gys commented 1 month ago

Checklist

Describe the bug

Using RichText ParseMarkdown() the widget renders an extra space after an underscore. See the screenshot below.

How to reproduce

Parse for example the string under_score as markdown with a richttext widget. I use https://github.com/treysarkar/MarkDown-Editor for experimenting with Fyne markdown renderings and made the screenshot below.

Screenshots

Screenshot 2024-09-04 at 11 17 33

Example code

The is no example code.

Fyne version

2.5.1

Go compiler version

go1.21.5 darwin/amd64

Operating system and version

MacOS Sonoma 14.5 (Intel)

Additional Information

No response

andydotxyz commented 1 month ago

Looks like this was a regression with some of the fixes that went into 2.5.0