Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit e260ad32 authored by Seth A Johnson's avatar Seth A Johnson
Browse files

Fix page reloading dangerouslySetInnerHTML p tag bug

HELIO-3081 and https://github.com/facebook/react/issues/5479
parent ec5a1246
......@@ -13,7 +13,7 @@ const Event = ({data}) => {
<h1 className="mb-3">{title}</h1>
<Img fluid={image.childImageSharp.fluid} />
<h4 className="mt-4">{date}</h4>
<p dangerouslySetInnerHTML={{ __html: html }} />
<div dangerouslySetInnerHTML={{ __html: html }} />
</div>
</Layout>
)
......
......@@ -12,7 +12,7 @@ const Impact = ({data}) => {
} = data.markdownRemark.frontmatter
// When we have markdown in the frontmatter, we need to process it
// with ReactMarkdown (or something)
// with ReactMarkdown (or something) or something similar.
// When it's in the "html"/not frontmatter, we would "dangerouslySetInnerHTML"
return (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment