Skip to content

Commit

Permalink
docs: fix invalid HTML in component pages
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Mar 22, 2019
1 parent f58c3c2 commit 6573378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/templates/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ComponentTemplate extends React.Component {
<div>
<Container>
<h1 id={metadata.displayName}>{metadata.displayName}</h1>
<p
<div
dangerouslySetInnerHTML={{ __html: extractMarkdown(metadata) }}
/>
</Container>
Expand Down

0 comments on commit 6573378

Please sign in to comment.