[fix] fix #185 timeline null body

This commit is contained in:
xaoxuu 2022-11-21 21:04:10 +08:00
parent 0b9575f650
commit 20507e8920
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ const StellarTimeline = {
cell += '</p>'; cell += '</p>';
} }
cell += marked.parse(item.body); cell += marked.parse(item.body || '');
if (!hide.includes('footer')) { if (!hide.includes('footer')) {
cell += '<div class="footer">'; cell += '<div class="footer">';
cell += '<div class="flex left">'; cell += '<div class="flex left">';