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

Avoid <span class="Linkify"> wrapper #50

Closed
ibc opened this issue Nov 6, 2017 · 2 comments
Closed

Avoid <span class="Linkify"> wrapper #50

ibc opened this issue Nov 6, 2017 · 2 comments

Comments

@ibc
Copy link

ibc commented Nov 6, 2017

Starting from React 16 there is no need for a component to wrap all its content into a single HTML tag, so react-linkify could just keep the original elements by just replacing links with <a> tags.

@tasti tasti mentioned this issue Jan 6, 2018
16 tasks
@tasti
Copy link
Owner

tasti commented Jan 6, 2018

Keep an eye out for the above PR, which uses React.Fragment instead of wrapping everything in a span as you mentioned.

@tasti tasti closed this as completed Jan 6, 2018
@shanecav84
Copy link

@tasti Can we get a release with the React.Fragment functionality?

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

No branches or pull requests

3 participants