Skip to content
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

Text and links in markdown are rendered in each other #2695

Closed
SKBotNL opened this issue Dec 16, 2021 · 3 comments
Closed

Text and links in markdown are rendered in each other #2695

SKBotNL opened this issue Dec 16, 2021 · 3 comments
Assignees
Labels
blocker Items that would block a forthcoming release bug Something isn't working

Comments

@SKBotNL
Copy link

SKBotNL commented Dec 16, 2021

Describe the bug:

Text and links in markdown are rendered in each other

Screenshots:

image

Example code:

container.NewTabItem("Example", container.New(
			layout.NewGridLayout(2),
			widget.NewRichTextFromMarkdown("Text [a link](https://github.com/fyne-io/fyne) more text [another link](https://github.com/fyne-io/fyne)"),
			)),

Device:

  • OS: Windows
  • Version: 11
  • Go version: 1.17.3
  • Fyne version: 2.1.2
@SKBotNL SKBotNL added the unverified A bug that has been reported but not verified label Dec 16, 2021
@Jacalz Jacalz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Dec 16, 2021
@Jacalz Jacalz added this to the Fixes (v2.1.x) milestone Dec 16, 2021
@Jacalz Jacalz added the blocker Items that would block a forthcoming release label Dec 16, 2021
@Jacalz
Copy link
Member

Jacalz commented Dec 16, 2021

Thanks for opening the issue. In the future though, please provide a full code example and not a snippet.

@andydotxyz
Copy link
Member

It looks like the bug relates to layout (minsize is OK) when a link is the last thing on a line.
Adding "." seems to fix it. This narrows down the issue :)
foo

@andydotxyz
Copy link
Member

On release/v2.1.x for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker Items that would block a forthcoming release bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants