mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-17 02:10:39 +03:00
fix: inline markdown regression
This commit is contained in:
parent
c5e9030d04
commit
e1c9e19fbc
|
@ -33,6 +33,7 @@ function SanitizedMarkdownHTML(props: StylingMarkdownProps & { html: string }) {
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: sanitize(options.untrustedSpec, props.html),
|
__html: sanitize(options.untrustedSpec, props.html),
|
||||||
}}
|
}}
|
||||||
|
{...props}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</OptionsContext.Consumer>
|
</OptionsContext.Consumer>
|
||||||
|
|
|
@ -35,7 +35,7 @@ export class ResponseSamples extends React.Component<ResponseSamplesProps> {
|
||||||
</TabList>
|
</TabList>
|
||||||
{responses.map(response => (
|
{responses.map(response => (
|
||||||
<TabPanel key={response.code}>
|
<TabPanel key={response.code}>
|
||||||
<PayloadSamples content={response.content!} />;
|
<PayloadSamples content={response.content!} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
))}
|
))}
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user