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

Replace dangerouslySetInnerHTML with UnsafeRenderedMarkdown in the facilitator bio #27516

Merged
merged 1 commit into from Mar 14, 2019

Conversation

bethanyaconnor
Copy link
Contributor

Tested locally using one of the facilitator bios in pegasus. I don't believe any of the bios have HTML in them (based on a simple grep of the directory) but I have obviously not tested every facilitator bio.

Copy link

@clareconstantine clareconstantine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me - did you try adding html to the bio you tested locally to make sure it worked?

@bethanyaconnor
Copy link
Contributor Author

Just did and it works! I just added a link to test this -- let me know if there's a specific use case you're thinking of.

Uploading Screenshot 2019-03-14 at 1.39.35 PM.png…

Copy link
Contributor

@Hamms Hamms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bethanyaconnor bethanyaconnor merged commit 014ab22 into staging Mar 14, 2019
@bethanyaconnor bethanyaconnor deleted the use-UnsafeRenderedMarkdown branch April 10, 2019 22:36
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.

None yet

3 participants