forked from Ivasoft/mattermost-mobile
Fix code syntax highlight on full screen view (#6944)
This commit is contained in:
committed by
GitHub
parent
6082a6a790
commit
8edf128d59
@@ -85,7 +85,7 @@ const MarkdownCodeBlock = ({language = '', content, textStyle}: MarkdownCodeBloc
|
||||
const screen = Screens.CODE;
|
||||
const passProps = {
|
||||
code: content,
|
||||
language,
|
||||
language: getHighlightLanguageFromNameOrAlias(language),
|
||||
textStyle,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user