mirror of
https://github.com/Radarr/Radarr
synced 2026-02-08 15:52:07 +01:00
Fixed: Release note text
(cherry picked from commit 94c6b0fde39d838f7becc16eccd5fe05183117ed)
This commit is contained in:
parent
5aee804bc0
commit
cd2d81a5aa
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue