Merge branch 'develop' into matthew/twemoji

This commit is contained in:
Matthew Hodgson
2019-05-20 16:38:44 +01:00
committed by GitHub
17 changed files with 236 additions and 60 deletions
+2 -2
View File
@@ -473,8 +473,8 @@ export function bodyToHtml(content, highlights, opts={}) {
});
return isDisplayedWithHtml ?
<span className={className} dangerouslySetInnerHTML={{ __html: safeBody }} dir="auto" /> :
<span className={className} dir="auto">{ strippedBody }</span>;
<span key="body" className={className} dangerouslySetInnerHTML={{ __html: safeBody }} dir="auto" /> :
<span key="body" className={className} dir="auto">{ strippedBody }</span>;
}
/**