Closed
Description
Checklist
- 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
1、Text that is not empty on the next line of a hyperlink in a rich text widget cannot be wrapped correctly
2、Unable to recognize HTML code
How to reproduce
use example code
Screenshots
Example code
package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)
const info = `<h1 align="center">test title</h1>
<p align="center">hello<br/><br/></p>
> 123456789
111111
1111
[google](https://google.com/)
can't wrap
`
func main() {
a := app.New()
w := a.NewWindow("Test RichText")
rt := widget.NewRichTextFromMarkdown(info)
w.SetContent(rt)
w.ShowAndRun()
}
Fyne version
fyne.io/fyne/v2 v2.4.1-rc1.0.20231020171735-2921c115f4cc
Go compiler version
go1.20.1 windows/amd64
Operating system and version
windows11
Additional Information
No response
Activity