mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +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={{
|
||||
__html: sanitize(options.untrustedSpec, props.html),
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
)}
|
||||
</OptionsContext.Consumer>
|
||||
|
|
|
@ -35,7 +35,7 @@ export class ResponseSamples extends React.Component<ResponseSamplesProps> {
|
|||
</TabList>
|
||||
{responses.map(response => (
|
||||
<TabPanel key={response.code}>
|
||||
<PayloadSamples content={response.content!} />;
|
||||
<PayloadSamples content={response.content!} />
|
||||
</TabPanel>
|
||||
))}
|
||||
</Tabs>
|
||||
|
|
Loading…
Reference in New Issue
Block a user