Update <Markdown/> allowedTypes (#1004)
This commit is contained in:
parent
822836a536
commit
5272bdacd5
|
@ -12,7 +12,7 @@ const Translate = ({ translationKey }: Props) => {
|
||||||
<Markdown
|
<Markdown
|
||||||
escapeHtml={true}
|
escapeHtml={true}
|
||||||
unwrapDisallowed={true}
|
unwrapDisallowed={true}
|
||||||
allowedTypes={['link', 'emphasis', 'strong', 'code', 'root']}
|
allowedTypes={['link', 'emphasis', 'strong', 'code', 'root', 'inlineCode']}
|
||||||
renderers={{ root: 'span' }}
|
renderers={{ root: 'span' }}
|
||||||
source={source}
|
source={source}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue