Handle srt files with extra whitespace in closintag