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

Call dangerously set to allow script tags #453

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

ericsanner
Copy link
Contributor

Description / Motivation

On the agenda page, the popup for the session details was not opening. The html from sessionize includes the javascript function to open the modal. The dangerouslySetHtml attribute does not render script tags. I used this node module https://www.npmjs.com/package/dangerously-set-html-content.

How Has This Been Tested?

image

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the Contributing guide.
  • My code/comments/docs fully adhere to the Code of Conduct.
  • My change is a code change.
  • My change is a documentation change and there are NO other updates required.

@lovesitecore lovesitecore merged commit 46db285 into Sitecore:main Apr 10, 2024
7 checks passed
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