Skip to content
Open
2 changes: 1 addition & 1 deletion components/Events/SelectedEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function SelectedEvent({ event }) {
{
location && <p className={styles['date-line']}>{location}</p>
}
<p className={styles.description}>{description}</p>
<p className={styles.description} dangerouslySetInnerHTML={{ __html: description }}></p>
{(links && links.length > 0) &&
<ul className="list-unstyled">
{links.map(({ text, href, ext }) => <li key={href}><Link href={href}><a className={styles['event-link']} target={ext ? '_blank': ''} rel={ext ? 'noopener noreferrer' : ''}>{text}</a></Link></li>)}
Expand Down
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ module.exports = {
domains: ['www.netlify.com'],
},
target: 'serverless',
webpack: (config) => {
config.externals = [...config.externals, 'canvas'];
return config;
},
};
Loading