From 24e138b8acbc916512960d3c6464db217a6ca44f Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 12 Sep 2020 17:55:02 +0200 Subject: [PATCH] Update docs [ci skip] --- website/src/components/icon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/icon.js b/website/src/components/icon.js index 0f7dbb8d0..799b20eda 100644 --- a/website/src/components/icon.js +++ b/website/src/components/icon.js @@ -117,8 +117,8 @@ export function replaceEmoji(cellChildren) { const [, iconName, text] = child.split(iconRe) return ( - - {text} + + {text.replace(/^\s+/g, '')} ) }