Commit 09b7657f authored by Florent Chehab's avatar Florent Chehab

Fixed warning realted to whitespace in Markdown component.

parent 7266140c
Pipeline #35510 canceled with stages
......@@ -146,7 +146,7 @@ const BlockquoteRenderer = (props, classes) => (
const TableRenderer = (props, classes) => (
<Paper className={classes.backgroundTable}>
<Table className={classes.table}> {props.children} </Table>
<Table className={classes.table}>{props.children}</Table>
</Paper>
);
......@@ -165,16 +165,16 @@ const renderers = {
heading: HeadingRenderer,
list: withStyles(styles, { withTheme: true })(ListRenderer),
listItem: withStyles(styles, { withTheme: true })(ListItemRenderer),
paragraph: (props) => <Typography paragraph > {props.children} </Typography>,
paragraph: (props) => <Typography paragraph >{props.children}</Typography>,
link: props => <LinkText {...props} />,
code: withStyles(styles, { withTheme: true })(CodeRenderer),
inlineCode: withStyles(styles, { withTheme: true })(InlineCodeRenderer),
blockquote: withStyles(styles, { withTheme: true })(BlockquoteRenderer),
table: withStyles(styles, { withTheme: true })(TableRenderer),
tableHead: withStyles(styles, { withTheme: true })(TableHeadRenderer),
tableBody: props => (<TableBody> {props.children} </TableBody>),
tableRow: props => (<TableRow hover={true}> {props.children} </TableRow>),
tableCell: props => (<TableCell> {props.children} </TableCell>),
tableBody: props => (<TableBody>{props.children}</TableBody>),
tableRow: props => (<TableRow hover={true}>{props.children}</TableRow>),
tableCell: props => (<TableCell>{props.children}</TableCell>),
thematicBreak: () => (<Divider />)
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment