Skip to content

Commit

Permalink
Fix a subtitle synchronization problem
Browse files Browse the repository at this point in the history
  • Loading branch information
tjunttila committed Aug 19, 2020
1 parent 8ee067c commit 1d845ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def err(msg):
result.append(ASTDelim(m.group(0)))
i += len(m.group(0))
continue
word = read_until([' ','\t','#','*','@'])
word = read_until([' ','\t','#','*','@','"','.',',',':',';','!','?'])
result.append(ASTWord(word))
return result

Expand Down

0 comments on commit 1d845ff

Please sign in to comment.