Sitecore / XM-Cloud-Introduction

A repository containing the code for the MVP & SUGCON Sites, powered by XM Cloud
47 stars 47 forks source link

Call dangerously set to allow script tags #453

Closed ericsanner closed 3 months ago

ericsanner commented 3 months ago

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

Checklist: