Fixed: Release note text

This commit is contained in:
Bogdan 2023-07-30 21:01:35 +03:00 committed by GitHub
parent 8e925ac76d
commit 94c6b0fde3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ class InlineMarkdown extends Component {
if (endIndex !== data.length && markdownBlocks.length > 0 && matchedCode) {
markdownBlocks.push(data.substr(endIndex, data.length - endIndex));
}
if (markdownBlocks.length === 0) {
markdownBlocks.push(data);
}
}
return <span className={className}>{markdownBlocks}</span>;