Skip to content

Conversation

@mattj256
Copy link
Collaborator

@mattj256 mattj256 commented Mar 1, 2016

I thought this would be easy...

What do I do now? Either this needs to be not HTML-escaped or I need some help getting this to play nicely with the React framework..

Here's a screenshot:

a

@lightvector
Copy link
Owner

Hehe, I also think it's easy. But this is the not the easy way to do it, because React auto-escapes text to protect against injection vulnerabilities and such when displaying dynamic content, and you shouldn't generally attempt to work around it.

Instead, see components/gameroom.js for an example working usage of the "react-linkify" module.

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 this pull request may close these issues.

2 participants