You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
If the title field is blank in my markdown the image is not added.
How to reproduce
Run test TestRichTextMarkdown_Image with "title" removed from the input string.
Screenshots
No response
Example code
r:=NewRichTextFromMarkdown("")
assert.Equal(t, 1, len(r.Segments))
ifimg, ok:=r.Segments[0].(*ImageSegment); ok {
assert.Equal(t, storage.NewFileURI("../../theme/icons/fyne.png"), img.Source)
} else {
t.Error("Segment should be a Image")
}
Fyne version
v2.3.0
Go compiler version
1.18.4
Operating system
macOS
Operating system version
Monterey
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
If the title field is blank in my markdown the image is not added.
How to reproduce
Run test
TestRichTextMarkdown_Image
with "title" removed from the input string.Screenshots
No response
Example code
Fyne version
v2.3.0
Go compiler version
1.18.4
Operating system
macOS
Operating system version
Monterey
Additional Information
No response
The text was updated successfully, but these errors were encountered: