From 20507e89208e660ff63c7e67eef72c2502eead71 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Mon, 21 Nov 2022 21:04:10 +0800 Subject: [PATCH] [fix] fix #185 timeline null body --- source/js/plugins/timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/plugins/timeline.js b/source/js/plugins/timeline.js index 91e9dbd..02c8883 100644 --- a/source/js/plugins/timeline.js +++ b/source/js/plugins/timeline.js @@ -95,7 +95,7 @@ const StellarTimeline = { cell += '

'; } - cell += marked.parse(item.body); + cell += marked.parse(item.body || ''); if (!hide.includes('footer')) { cell += '