Skip to content

Commit

Permalink
fix: Support text tracks with styling information (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben authored Sep 9, 2021
1 parent d0510ee commit 8f04ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const schema = function(options) {
return;
}

const cueRegex = /(\d\d:)?\d\d:\d\d\.\d\d\d[ \t]+-->[ \t]+(\d\d:)?\d\d:\d\d\.\d\d\d\n((.+\n)+)/mg;
const cueRegex = /(\d\d:)?\d\d:\d\d\.\d\d\d[ \t]+-->[ \t]+(\d\d:)?\d\d:\d\d\.\d\d\d.*\n((.+\n)+)/mg;
let match;
const transcript = [];

Expand Down

0 comments on commit 8f04ab6

Please sign in to comment.