Skip to content

Commit

Permalink
Upped ignored lines to 12 chars, since docx puts in punctuation.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesweir committed May 24, 2024
1 parent dacbaf0 commit 3729b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converter.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
return (asTabSeparated

/* Now look for short interjections (10 chars or less) and remove them: */
.replace(/(?<time>(?:-?\d\d?:)?\d\d?:\d\d)\t(?<speaker>.*?)\t(?<text>[\S ]{0,10}?)\n/g, (s) => {
.replace(/(?<time>(?:-?\d\d?:)?\d\d?:\d\d)\t(?<speaker>.*?)\t(?<text>[\S ]{0,12}?)\n/g, (s) => {
if (deleteShort) {
wordsDeleted( s );
return "";
Expand Down

0 comments on commit 3729b1a

Please sign in to comment.