Skip to content

Commit 4815ea4

Browse files
committed
Add new lines and links to events calendar
1 parent 73162fe commit 4815ea4

File tree

5 files changed

+1417
-522
lines changed

5 files changed

+1417
-522
lines changed

components/Events/SelectedEvent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function SelectedEvent({ event }) {
2222
{
2323
location && <p className={styles['date-line']}>{location}</p>
2424
}
25-
<p className={styles.description}>{description}</p>
25+
<p className={styles.description} dangerouslySetInnerHTML={{ __html: description }}></p>
2626
{(links && links.length > 0) &&
2727
<ul className="list-unstyled">
2828
{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>)}

0 commit comments

Comments
 (0)