Skip to content

Commit 80c4926

Browse files
authored
fix rendering raw HTMLs in prop.description (#5614)
1 parent 2137076 commit 80c4926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/docs/src/types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ function SpectrumLink({href, children, title}) {
429429

430430
export function renderHTMLfromMarkdown(description, opts) {
431431
if (description) {
432-
const options = {forceInline: true, overrides: {a: {component: SpectrumLink}}, ...opts};
432+
const options = {forceInline: true, overrides: {a: {component: SpectrumLink}}, disableParsingRawHTML: true, ...opts};
433433
return <Markdown options={options}>{description}</Markdown>;
434434
}
435435
return '';

0 commit comments

Comments
 (0)