fix: inline markdown regression

This commit is contained in:
Roman Hotsiy 2018-06-30 00:41:31 +03:00
parent c5e9030d04
commit e1c9e19fbc
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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>