mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
Fixed: Release note text
(cherry picked from commit 94c6b0fde39d838f7becc16eccd5fe05183117ed)
This commit is contained in:
parent
5aee804bc0
commit
cd2d81a5aa
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user