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

RichText.Definitions.link bad htmlToNode #27

Closed
tgelu opened this issue Oct 14, 2020 · 4 comments · Fixed by #28
Closed

RichText.Definitions.link bad htmlToNode #27

tgelu opened this issue Oct 14, 2020 · 4 comments · Fixed by #28

Comments

@tgelu
Copy link

tgelu commented Oct 14, 2020

In the Definition of link, the htmlToNode function seems to confuse href with src in here.
This has the consequence that pasting (or parsing html with a link) won't work because the link has an href not an src.

Am I missing something?

@mweiss
Copy link
Owner

mweiss commented Oct 15, 2020

That definitely looks like a bug!

@rjdellecese
Copy link
Contributor

Is the fix simply to replace "src" with "href" in that line you referenced @tgelu? If so, would you like to open a PR? If not, I would be happy to!

@mweiss
Copy link
Owner

mweiss commented Oct 30, 2020 via email

@mweiss
Copy link
Owner

mweiss commented Oct 31, 2020

Thank you so much @tgelu for reporting this and @rjdellecese for the fix! This has been published in 1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants