Skip to content

Commit

Permalink
Fix: compile reactHelpers (fixes #124)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster committed May 19, 2023
2 parents f5e7038 + f523413 commit 95ebc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/hotgridPopup.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect } from 'react';
import a11y from 'core/js/a11y';
import { classes, templates } from 'core/js/reactHelpers';
import { classes, compile, templates } from 'core/js/reactHelpers';

export default function HotgridPopup(props) {

Expand Down Expand Up @@ -60,7 +60,7 @@ export default function HotgridPopup(props) {
<div className="hotgrid-popup__item-body">
<div
className="hotgrid-popup__item-body-inner"
dangerouslySetInnerHTML={{ __html: body }}
dangerouslySetInnerHTML={{ __html: compile(body) }}
/>
</div>
}
Expand Down

0 comments on commit 95ebc20

Please sign in to comment.