Skip to content

Commit 6573378

Browse files
committed
docs: fix invalid HTML in component pages
1 parent f58c3c2 commit 6573378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/src/templates/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class ComponentTemplate extends React.Component {
5858
<div>
5959
<Container>
6060
<h1 id={metadata.displayName}>{metadata.displayName}</h1>
61-
<p
61+
<div
6262
dangerouslySetInnerHTML={{ __html: extractMarkdown(metadata) }}
6363
/>
6464
</Container>

0 commit comments

Comments
 (0)