mirror of https://github.com/explosion/spaCy.git
Update docs [ci skip]
This commit is contained in:
parent
475a310b13
commit
24e138b8ac
|
@ -117,8 +117,8 @@ export function replaceEmoji(cellChildren) {
|
||||||
const [, iconName, text] = child.split(iconRe)
|
const [, iconName, text] = child.split(iconRe)
|
||||||
return (
|
return (
|
||||||
<Fragment key={i}>
|
<Fragment key={i}>
|
||||||
<Icon {...icons[iconName]} aria-hidden={undefined} />
|
<Icon {...icons[iconName]} aria-hidden={undefined} inline={true} />
|
||||||
{text}
|
{text.replace(/^\s+/g, '')}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue