1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-14 16:55:21 +02:00

Fixed: Release note text

(cherry picked from commit 94c6b0fde39d838f7becc16eccd5fe05183117ed)
This commit is contained in:
Bogdan 2023-07-30 21:01:35 +03:00
parent 5aee804bc0
commit cd2d81a5aa

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>;