diff --git a/lib/parse.js b/lib/parse.js index a08fe37..2959f77 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -58,7 +58,7 @@ module.exports = function parse (srt) { start: start, end: end, duration: toMS(end) - toMS(start), - text: text + text: text || '' }) index = time = start = end = text = null } else {